Outlook API:尝试发送草稿时收到"ErrorIrresolvableConflict" [英] Outlook API: Receiving 'ErrorIrresolvableConflict' when trying to send Draft

查看:111
本文介绍了Outlook API:尝试发送草稿时收到"ErrorIrresolvableConflict"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试发送草稿时,我收到一条错误消息:

When trying to send a draft, I receive an error:

"ErrorIrresolvableConflict",消息":无法执行发送或更新操作,因为请求中传递的更改密钥与项目的当前更改密钥不匹配.保存时.

"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., Item could not be saved because conflicts were detected when saving.

在沙盒中尝试时,该消息似乎稍后会发送.

The message seems to send later when trying in a sandbox.

推荐答案

我通过在草稿创建和发送草稿之间插入超时来解决此问题.本质上是种族问题.

I fixed this by inserting a timeout between the creation of the draft and sending the draft. Essentially, race condition issues.

这篇关于Outlook API:尝试发送草稿时收到"ErrorIrresolvableConflict"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆