Hello all,
We have a custom java script that is suppose to fire off of a create function.
I was assuming that this error was incurring because of services not running, I came to that initial assumption because we have not made any changes to our production environment. That was not the case, when i went on my backend server async and sandbox were running perfectly fine, also this just started on yesterday. This is my error log that I am getting.
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The plug-in execution failed because the Sandbox Client encountered an error during initialization.Detail:
1186c1cf-7dba-4284-9ea1-8fdfc60049ff
-2147220891
ApiExceptionSourceKey
Plugin/$Microsoft.Crm.Workflow.Services.ProxyCustomActivity
ApiOriginalExceptionKey
Microsoft.Crm.CrmException: The plug-in execution failed because the Sandbox Client encountered an error during initialization.
at Microsoft.Crm.Sandbox.SandboxCodeUnit.EnsureListenerStarted()
at Microsoft.Crm.Sandbox.SandboxCodeUnit.<>c__DisplayClass24_0.b__0()
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
at Microsoft.Xrm.RemotePlugin.CrmProvider.RemotePlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Xrm.RemotePlugin.CrmProvider.RemotePluginContainer.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)
ApiStepKey
fd2f658f-f1d8-eb11-b80d-00155d010335
ApiDepthKey
1
ApiActivityIdKey
1186c1cf-7dba-4284-9ea1-8fdfc60049ff
ApiPluginSolutionNameKey
System
ApiStepSolutionNameKey
System
OperationStatus
0
SubErrorCode
-2146233088
The plug-in execution failed because the Sandbox Client encountered an error during initialization.
2021-09-28T17:41:05.7414991Z
false
I have checked event viewer as well and haven't found any new errors.