We were experiencing some issues retrieving data from an OData entity in Business Central. The log just indicated HttpStatusCode "Conflict":
Please include the http error number, in this case 409.
We were able to reproduce the error using Postman and received this response:
{
"error": {
"code": "Internal_ServerError",
"message": "The activity was deadlocked with another user. Please retry the activity. CorrelationId: 475d489e-dc25-4f56-90e8-0a2d110af502."
}
}
This was indeed very helpful, so we were able to trace the error in BC.
Please include this response information in the log as well, when the http status code is different from 200.
Hi :)
We were experiencing some issues retrieving data from an OData entity in Business Central. The log just indicated HttpStatusCode "Conflict":
Please include the http error number, in this case 409.
We were able to reproduce the error using Postman and received this response:
{ "error": { "code": "Internal_ServerError", "message": "The activity was deadlocked with another user. Please retry the activity. CorrelationId: 475d489e-dc25-4f56-90e8-0a2d110af502." } }
This was indeed very helpful, so we were able to trace the error in BC.
Please include this response information in the log as well, when the http status code is different from 200.
Br. Lars