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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

error The document hash does not match the hash in the XML. The document may have been changed since last read

(0) ShareShare
ReportReport
Posted on by 10,280

Please anybody provides with info regarding this issue. if i do consistency check, it might help.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mea_ Profile Picture
    60,284 on at
    RE: error The document hash does not match the hash in the XML. The document may have been changed since last read

    Hi Codehunter,

    Document Hash is explained here https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/concurrency-when-updating-data please read this article first, it literally says that before updating any data through AIF you need to read it from AX, grab a hash and send it back. If someone updates record in between read and update AX gives you this record saying that you made you decision based on outdated information, so you need to read it again, check if you still want to update it, get new hash and send it back.  

  • Codehunter Profile Picture
    10,280 on at
    RE: error The document hash does not match the hash in the XML. The document may have been changed since last read

    Thanks ivege but don't u know how to solve this issue immediately as it fires this error everytime I run the code.

  • Mea_ Profile Picture
    60,284 on at
    RE: error The document hash does not match the hash in the XML. The document may have been changed since last read

    Where do you get Document Hash from ?

  • Codehunter Profile Picture
    10,280 on at
    RE: error The document hash does not match the hash in the XML. The document may have been changed since last read

    from AIF service. i sent an xml message from third party APP to AIF inbound port but it keeps showing this error repetitively.

    Kindly advise.

  • Mea_ Profile Picture
    60,284 on at
    RE: error The document hash does not match the hash in the XML. The document may have been changed since last read

    Where Document Hash value is coming from ?

  • Codehunter Profile Picture
    10,280 on at
    RE: error The document hash does not match the hash in the XML. The document may have been changed since last read

    AIF service

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans