Skip to main content

Notifications

Announcements

No record found.

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

PATCH error "Could not validate the client concurrency token..."

(0) ShareShare
ReportReport
Posted on by 10

I created GET and POST requests. And now I am trying to use PATCH request to update the purchase invoice data via Postman and getting the following error :

 

{
    "error": {
        "code": "BadRequest_InvalidToken",
        "message": "Could not validate the client concurrency token required by the service. Please provide a valid token in the client request.  CorrelationId:  f680dd3c-3b23-4bd4-b4a0-f650dba743c5."
    }
}

Body (raw, JSON):
0211.PNG

PATCH request line:
api.businesscentral.dynamics.com/.../purchaseOrders({id})

I do not understand what I am doing wrong. 

Any Idea?

  • BexNexus Profile Picture
    BexNexus 10 on at
    RE: PATCH error "Could not validate the client concurrency token..."

    Thank you very much ! Now it worked.

    I erroneously put the keys to Params section, not the Headers.

    pastedimage1664500357729v1.png

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 75,942 Super User 2024 Season 2 on at
    RE: PATCH error "Could not validate the client concurrency token..."

    Hi, maybe you missed the headers settings.

    pastedimage1664498611265v2.png

    Just a test.

    Get

    pastedimage1664498529701v1.png

    Patch

    pastedimage1664498796772v3.png

    pastedimage1664498808499v4.png

    pastedimage1664498826762v5.png

    More details: https://yzhums.com/6117/#toc16

    Hope this helps.

    Thanks.

    ZHU

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,476 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans