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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

REST API PATCH request failed to retrieve the actual error message

(0) ShareShare
ReportReport
Posted on by 145

Hi experts,

I am using the POSTMAN for D365 REST API tests. At the time of PATCH request, I  got the success status (204:No Content) but doesn't update the actual data & no error too. Here I add the reference screenshots,

PATCH_5F00_Noerror.PNG

At the same, the field 'PositionId' become non editable, which am trying to update.

Also I tried the another non editable field 'PersonnelNumber' for confirmation (Is that prevent update), then the response showed the actual error. Here the shots,

PATCH_5F00_error.PNG

In this request 'PositionId' used as an entitykey. Not only this one but also the all request shows the '204:No Content' status response if trying to PATCH entity key even it non editable field.

Also tried the x++ job to do the above same showed the actual error exactly what I want ('PositionId is read only').

Is there any solution to retrieve the correct error message?

Any help should be appreciate.

Thank you.

I have the same question (0)
  • Luke Sha Profile Picture
    Microsoft Employee on at

    Did you try other entities? If you tried to update Key value, does it return same error?

  • JAYAKRISHNAN M S Profile Picture
    145 on at

    Hai Luke Sha,

    l am already mentioned the same.

    If I will get any error message there is no problem. Unfortunately doesn't.

    "Not only this one but also the all request shows the '204:No Content' status response if trying to PATCH entity key even it is a non editable field."

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 580

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 406 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 272 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans