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 :
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
    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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 559 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 464 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans