We are using logic app integration. When logic app send message to D365 then D365 gives this error.
{
"error":{
"code":"","message":"An error has occurred.","innererror":{
"message":"Write failed for table row of type '**********'. Infolog: Error: Input string was not in a correct format..",
"type":"Microsoft.Dynamics.Platform.Integration.Services.OData.AxODataWriteException",
"stacktrace":"
at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.UpdateProcessor.CreateEntity_Save(ChangeOperationContext context, ChangeInfo changeInfo)\r\n
at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.UpdateManager.<>c__DisplayClass10_0.<CreateEntity>b__1(ChangeOperationContext context)\r\n
at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.ChangeInfo.ExecuteActionsInCompanyContext(IEnumerable`1 actionList, ChangeOperationContext operationContext)\r\n
at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.ChangeInfo.TrySave(ChangeOperationContext operationContext)\r\n
at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.UpdateManager.SaveChanges()\r\n at Microsoft.Dynamics.Platform.Integration.Services.OData.AxODataBatchHandler.<ExecuteRequestMessagesAsync>d__9.MoveNext()"
}
}
}
Now, this error usually points to data type format errors.
But In our case, once we got this error, we resubmitted the same message and it got successful. This has happened only a few times otherwise the messages are always successful.
What could be the reason for this error?