Using Power Automate, I read a pdf, automatically create a Sales Order in Business Central and then automatically create the Sales Order lines. At first I thought it might be related to concurrency but concurrency is set to 1 and I still see this error from time to time. As a temorary fix, I've added a Delay step configured to 'Run After' the Create Record step fails and another identical Create Record step configured to 'Run After' the Delay is successful. One second seems like a long delay in programming; however, we have approximately one failure every 10 Sales Orders and a Sales Order takes on average about 2 minutes to process, so a 1 second delay becomes insignificant. Since adding the delay, I haven't seen the error.
This is the full error message, without the GUIDs
{