Upload file using upload session failed at the last chunk

Kuo Ian 1 Reputation point
2023-05-22T06:49:44.48+00:00

We are trying to attach a large file using the following way stated in the documentation :
https://learn.microsoft.com/en-us/graph/outlook-large-attachments?tabs=http

The expiredDateTime is always 2 hours, which is more than enough.

However, when we are in the last chunk, we faced following error:

{"error":{"code":"ErrorIrresolvableConflict","message":"The send or update operation could not be performed
 because the change key passed in the request does not match the current change key for the item."}}



We are not manipulating the upload URL or anything.

Does it indicate the session is no longer available?
Or it's some inner issue within MS server?
What's the action we can do to prevent this issue from happening?

I've also seen a similar report in MS Q&A, sadly there's no response yet.

https://learn.microsoft.com/en-us/answers/questions/1253949/the-attachment-of-large-files-to-outlook-fails-bec

Thanks in advance!

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,590 questions
0 comments No comments
{count} votes