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

荒凉一梦 提交于 2020-01-19 21:36:30

问题


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.

来源:https://stackoverflow.com/questions/58663396/getting-error-code-errorirresolvableconflict-responses-when-trying-to-create-e

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!