
Getting this error on saving Order, Order line and few other entities in Sales. Does anyone know what is the solution to this problem?
Error code: 0x80040265
Exception Message: A task was canceled.
ErrorCode: -2147220891
HexErrorCode: 0x80040265
ErrorDetails:
OperationStatus: 0
SubErrorCode: -2146233088
Plugin:
ExceptionFromPluginExecute: Microsoft.Dynamics.Integrator.DualWriteFpRuntime.Plugins.PreCommitPlugin
ExceptionRetriable: False
ExceptionSource: PluginExecution
OriginalException: PluginExecution
[INF] - [2023-01-19T06:09:48.970Z] - The bearer authentication token was successfully obtained.
[INF] - [2023-01-19T06:09:48.970Z] - Destination : {POST - https://**********.dynamics.com/data/DualWriteProjectConfigurations/Microsoft.Dynamics.DataEntities.WriteToEntityBatch}
[ERR] - [2023-01-19T06:11:28.982Z] - A task was canceled. - - at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.HttpClient.<FinishSendAsyncBuffered>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.Integrator.DualWriteCore.Shared.Clients.SandboxHttpClient.SendRequest(HttpRequestMessage request)
at Microsoft.Dynamics.Integrator.DualWriteCore.Shared.SendTransactionPayload.SendPayloadToFinOps(ICrmServices crmServices, IPayloadProvider provider, Payload payload)
at Microsoft.Dynamics.Integrator.DualWriteCore.Shared.SendTransactionPayload.SendPayload(IPayloadProvider provider, ICrmServices crmServices, String dataPayload)
at Microsoft.Dynamics.Integrator.DualWriteCore.Shared.SendTransactionPayload.TrySendPayload(ICrmServices crmServices, String dataPayload, IList`1 providers, CrmPluginUnsecureConfiguration unsecureConfig, CrmPluginSecureConfiguration secureConfig, Boolean alertUser)
[INF] - [2023-01-19T06:11:28.982Z] - AlertUser start tenant - f2e7de2c-59ba-49fe-8c68-4cd333f96b01; environment - https://************.dynamics.com
[INF] - [2023-01-19T06:11:29.063Z] - CreateNewErrorCountObject 42d2d66a-8da5-4919-9343-5dfa69920e6d
[INF] - [2023-01-19T06:11:29.063Z] - UpdateCountToTable {"PartitionKey":"42d2d66a-8da5-4919-9343-5dfa69920e6d","RowKey":"Application","ErrorCountArray":"[1,0,0,0,0,0,0,0,0,0]","LastErrorTime":"2023-01-19T06:11:29.0634588Z","StartTime":"2023-01-19T06:11:29.0634588Z","AlertSettingTime":"00:15:00","Threshold":10}
[INF] - [2023-01-19T06:11:29.094Z] - slots: 1,0,0,0,0,0,0,0,0,0
We have enabled table maps for these entities:
Hi Haider,
I would suggest you reviewing the setup and credentials or logging an incident for Microsoft Support. This error is too generic to suggest anything meaningful.