Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
865 views
in Technique[技术] by (71.8m points)

microsoft graph api - Getting error code `ErrorIrresolvableConflict` responses when trying to create events on a calendar using Outlook REST API

In the last few days (starting on Oct 28, 2019), without any code change on our part, we've started seeing a significant amount of requests from our server to create events on a calendar (using this endpoint: https://docs.microsoft.com/en-us/previous-versions/office/office-365-api/api/version-2.0/calendar-rest-operations#CreateAnEvent) returning an error.

Error is: ErrorIrresolvableConflict, with the error 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 suspect this is a new issue on Graph API / Outlook REST API / Exchange side, but have no visibility. We found this article: https://support.office.com/en-us/article/the-operation-cannot-be-performed-because-the-item-has-changed-74c99323-8a0d-4d45-ad32-e462e215a82a

Which seems somewhat related, although it does not mention the Outlook REST API.

Can someone confirm this is indeed a standing issue on MSFT's end? if not, perhaps shed some light on this error in the context of scheduling an event?

--

EDIT: As of November 8th, this has not yet been resolved. To anyone who encounters this issue, I wanted to share my observation so far:

When this error is returned, the request seems to still go through on outlook's side and the event DOES get created and attendees DO get the invite.

This has caused confusion as we usually retry failed requests, which results in duplicate events created.

To mitigate this, we catch this error code and let our users know that the request most likely was successful and to check their calendars before trying to submit again.

Hope that helps.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...