Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yagasoft.Plugins.Common.RecurrenceExceptionHandler error #2

Open
mohamedsaad306 opened this issue Aug 21, 2023 · 1 comment
Open

Yagasoft.Plugins.Common.RecurrenceExceptionHandler error #2

mohamedsaad306 opened this issue Aug 21, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mohamedsaad306
Copy link

hi Ahmed,
i keep getting below error when i try to add user to team or remove user from team (Associate - Disassociate ) .
so i disabled the plugin steps till i figure the cause.

Unhandled exception:
Exception type: System.ServiceModel.FaultException1[Microsoft.Xrm.Sdk.OrganizationServiceFault] Message: Retriable failure while executing plugin. This can be safely retried on a different host.Detail: <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts"> <ActivityId>adfa2de1-d167-41e6-8fc0-e608260eb871</ActivityId> <ErrorCode>-2147220956</ErrorCode> <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <KeyValuePairOfstringanyType> <d2p1:key>ApiExceptionSourceKey</d2p1:key> <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">Plugin/Yagasoft.Plugins.Common.RecurrenceExceptionHandler, Yagasoft.Plugins.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=96f110ab5b32e2f5</d2p1:value> </KeyValuePairOfstringanyType> <KeyValuePairOfstringanyType> <d2p1:key>ApiOriginalExceptionKey</d2p1:key> <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">Microsoft.Crm.CrmException: Retriable failure while executing plugin. This can be safely retried on a different host. ---&gt; Microsoft.Xrm.RemotePlugin.CrmProvider.RemotePluginRetriableException: Retriable failure while executing plugin. This can be safely retried on a different host. at Microsoft.Crm.Sandbox.SandboxCodeUnit.&lt;&gt;c__DisplayClass26_0.&lt;Execute&gt;b__0() at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable1 additionalCustomProperties)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
at Microsoft.Xrm.RemotePlugin.CrmProvider.RemotePlugin.CDSExecute(IServiceProvider serviceProvider)
at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
--- End of inner exception stack trace ---
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.Pipeline.<>c__DisplayClass3_0.<RunStep>b__0()</d2p1:value>


d2p1:keyApiStepKey</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">78358253-e98a-e611-9c0b-f8b156a3e077</d2p1:value>


d2p1:keyApiDepthKey</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">1</d2p1:value>


d2p1:keyApiActivityIdKey</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">adfa2de1-d167-41e6-8fc0-e608260eb871</d2p1:value>


d2p1:keyApiPluginSolutionNameKey</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">YSCommonSolution</d2p1:value>


d2p1:keyApiStepSolutionNameKey</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">YSCommonSolution</d2p1:value>


d2p1:keyApiExceptionCategory</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">ClientError</d2p1:value>


d2p1:keyApiExceptionMesageName</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">IsvUnExpected</d2p1:value>


d2p1:keyApiExceptionHttpStatusCode</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">400</d2p1:value>


http://go.microsoft.com/fwlink/?LinkID=398563&amp;error=Microsoft.Crm.CrmException%3a80040224&amp;client=platform
Retriable failure while executing plugin. This can be safely retried on a different host.
2023-08-21T04:27:00.4700522Z
false



[Yagasoft.Plugins.Common: Yagasoft.Plugins.Common.RecurrenceExceptionHandler]
[78358253-e98a-e611-9c0b-f8b156a3e077: Yagasoft.Plugins.Common.RecurrenceExceptionHandler: Associate of any entity]
Entered Microsoft.Dynamics.Sales.Plugins.PreOperationProductSalesLiteratureAssociate.Execute(), Correlation Id: 4bcd2514-cb11-4543-97ff-d2bee4fca6cc, Initiating User: fa77df14-4bd1-ed11-915d-00505697ddbe
Exiting Microsoft.Dynamics.Sales.Plugins.PreOperationProductSalesLiteratureAssociate.Execute(), Correlation Id: 4bcd2514-cb11-4543-97ff-d2bee4fca6cc, Initiating User: fa77df14-4bd1-ed11-915d-00505697ddbe
Entered Microsoft.Dynamics.Service.Plugins.PreOperationAssociate.Execute(), Correlation Id: 4bcd2514-cb11-4543-97ff-d2bee4fca6cc, Initiating User: fa77df14-4bd1-ed11-915d-00505697ddbe
Exiting Microsoft.Dynamics.Service.Plugins.PreOperationAssociate.Execute(), Correlation Id: 4bcd2514-cb11-4543-97ff-d2bee4fca6cc, Initiating User: fa77df14-4bd1-ed11-915d-00505697ddbe
Entered Microsoft.Dynamics.Sales.Plugins.PostOperationOpportunityAssociate.Execute(), Correlation Id: 4bcd2514-cb11-4543-97ff-d2bee4fca6cc, Initiating User: fa77df14-4bd1-ed11-915d-00505697ddbe
Exiting Microsoft.Dynamics.Sales.Plugins.PostOperationOpportunityAssociate.Execute(), Correlation Id: 4bcd2514-cb11-4543-97ff-d2bee4fca6cc, Initiating User: fa77df14-4bd1-ed11-915d-00505697ddbe
Entered PluginContext, Correlation Id: 4bcd2514-cb11-4543-97ff-d2bee4fca6cc, Initiating User: fa77df14-4bd1-ed11-915d-00505697ddbe
Validation completed
Entered PluginContext, Correlation Id: 4bcd2514-cb11-4543-97ff-d2bee4fca6cc, Initiating User: fa77df14-4bd1-ed11-915d-00505697ddbe
Validation completed

@yagasoft
Copy link
Owner

yagasoft commented Sep 1, 2023

Hello, @mohamedsaad306,
Thank you for reporting the issue.
I will test it locally.

@yagasoft yagasoft self-assigned this Sep 1, 2023
@yagasoft yagasoft added the bug Something isn't working label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants