web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

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

(1) ShareShare
ReportReport
Posted on by 14

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?

I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at

    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

  • BexNexus Profile Picture
    14 on at

    Thank you very much ! Now it worked.

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

    pastedimage1664500357729v1.png

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans