Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Unanswered

Business Central v2.0 APIEerrors

Posted on by 5

Hello Business Central Community,

I am integrating BC with third party/E-commerce app using BC API (v2.0). The problem is when transferring Sales Order from my app to BC not all Sales Order lines are created. The next error interrupts some Sales Order Lines from creating/attaching to Sales Order draft: The app returned "Sorry, we just updated this page. Reopen it, and try again. CorrelationId: 6422606f-84e4-4369-9242-20705725b511.".
Could someone explain me what does it mean and how to fix it, please? 

Thanks.

  • topvova Profile Picture
    topvova 5 on at
    RE: Business Central v2.0 APIEerrors

    Hello again,

    Thanks for the quick reply.

    The problem is with one user that creates order lines in a loop for earlier created order draft. The first couple of lines are created successfully, but the rest of lines getting that error.

    It does not mean there are multiple users that access/modify this order data.

    I assume that locking records is possible only in BC database. How 3rd party app can do that?

  • RE: Business Central v2.0 APIEerrors

    Hello,

    the error actually means that another user changed the data, so either the data is stale in cache, or some other user has been updating the same sales order(s). I guess you see the problem more when the system is busy, and you won't get the error if you run this integration when no other users are logged on, or at least not working with Sales orders?

    The fix is for the third party supplier to look at whether they can make the application more recilient for multi users by locking records for example.

    I hope this helps you?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans