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...
Suggested Answer

PATCH - PUT Method Custom API

(0) ShareShare
ReportReport
Posted on by 25

Hi everyone,

I try to update a field through a custom API using the PATCH method, but it returns this error

pastedimage1681756274773v1.png

testing the get method 

pastedimage1681756367944v2.png

in postman I specify the If-Match key

pastedimage1681756760999v3.png

has this happened to anyone?

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

    Hi, Looks like a problem with the value in the If Match.

    pastedimage1681779607551v1.png

    Here is a similar discussion below, I hope it can solve your problem.

       

    pastedimage1681779626859v2.png

    Hope this helps.

    Thanks.

    ZHU

  • Diego91 Profile Picture
    25 on at

    Yes, it was just a typing error, but I still get the error. The strange thing is that the Get and Post methods work perfectly. I only have the problem to update the registry, could it be some missing property in the API page?

  • Diego91 Profile Picture
    25 on at

    Yes, it was just a typing error, but I still get the error. The strange thing is that the Get and Post methods work perfectly. I only have the problem to update the registry, could it be some missing property in the API page?

  • Suggested answer
    YUN ZHU Profile Picture
    95,634 Super User 2025 Season 2 on at

    Hi, Get and Post don't need If-Match, so I still think it's a problem with this value.

    If your API endpoint contains specific value, try using "*" to see if it solves it.

    pastedimage1681874249544v1.png

    Hopefully other experts can give you better advice.

    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

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 2,785

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 948 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans