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

Odata - Update failed when trying to update via Postman (More than one resource was found when selecting for update)

(0) ShareShare
ReportReport
Posted on by 85

Hello,

When doing 'Get' Via postman for the standard OOB Customers I'm able to retrieve all the customers successfully (From FinOps -D365 FO), however  when doing 'PUT' (update operation) for a single field - just a Name update - its throwing error - 

"error": {
    "code""",
    "message""An error has occurred.",
    "innererror": {
      "message""More than one resource was found when selecting for update.",
      "type""Microsoft.Dynamics.Platform.Integration.Services.OData.ODataArgumentException",
      "stacktrace""   at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.UpdateManager.GetEntityForUpdate(IQueryable query, EntityType entityType)\r\n   at Microsoft.Dynamics.Platform.Integration.Services.OData.AxODataController.GetChangeInfoWithConcurrencyCheck(RequestEntityInfo requestEntityInfo)\r\n   at Microsoft.Dynamics.Platform.Integration.Services.OData.AxODataController.Put()\r\n   at ..............................................
.........
      }
}
Did anyone tried this earlier/faced this before? Could anyone please help! 
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,051 Super User 2025 Season 2 on at

    Hi Rahul,

    This usually means that you don't have a single record, but multiple records in your Odata query. Can you share your Odata call if you can't find the culprit with these comments? Try to get the unique key for updating a single record.

  • RahulD365 Profile Picture
    85 on at

    Thanks for the quick response Andre, As i said its OOB customers entity and calling it via postman - PUT. However, when doing it thru DMF space - I'm able to import it successfully. find the below sample

    testPostman.png

  • RahulD365 Profile Picture
    85 on at

    Any update please?

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi RahulD365,

    Could you, please, check if get oData request with the same customer account as filter returns one record to you?

  • RahulD365 Profile Picture
    85 on at

    I did, and its returning single record. But while updating the same - it throws error -

    "message": "An error has occurred.",

       "innererror": {

         "message": "More than one resource was found when selecting for update.",

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi RahulD365,

    Have you tried CustomersV2 or CustomersV3 entity?

  • RahulD365 Profile Picture
    85 on at

    CustomersV3

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi RahulD365,

    So you are using CustomersV3, not Customers as on your screenshots?

  • RahulD365 Profile Picture
    85 on at

    Its throwing same error with both the entity

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi RahulD365,

    Could you, please, also share URL how you performed get request with filter by account? Have you used cross-company option?

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