Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/delphi/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Microsoft graph api Outlook事件RSVP图形api问题_Microsoft Graph Api_Microsoft Graph Calendar - Fatal编程技术网

Microsoft graph api Outlook事件RSVP图形api问题

Microsoft graph api Outlook事件RSVP图形api问题,microsoft-graph-api,microsoft-graph-calendar,Microsoft Graph Api,Microsoft Graph Calendar,使用Microsoft Graph创建了一个事件: { "subject": "TEST", "body": { "contentType": "HTML", "content": "test event respond" }, "start": { "dateTime": "2019-05-22T00:00:00", "timeZone": "Asia/Kolkata" }, "end": { "dateTime": "2019-

使用Microsoft Graph创建了一个事件:

{
  "subject": "TEST",
  "body": {
    "contentType": "HTML",
    "content": "test event respond"
  },
  "start": {
    "dateTime": "2019-05-22T00:00:00",
    "timeZone": "Asia/Kolkata"
  },
  "end": {
    "dateTime": "2019-05-22T00:00:00",
    "timeZone": "Asia/Kolkata"
  },
  "location": { "displayName": "Leena AI" },
  "attendees": [
    {
      "emailAddress": {
        "address": "sachin@live.com",
        "name": "Sachin Goel"
      },
      "type": "optional"
    }
  ],
  "isReminderOn": false,
  "reminderMinutesBeforeStart": 15
}
如果我尝试从
sachin@live.com
user它抛出一个错误:

{
  "error": {
    "code": "ErrorItemNotFound",
    "message": "The specified object was not found in the store.",
    "innerError": {
      "request-id": "485528b0-dbbe-42f5-80c0-5fc91477fc31",
      "date": "2019-04-30T07:11:58"
    }
  }
}
样本请求:

https://graph.microsoft.com/v1.0/me/events/{eventId}/accept
{
  "comment" : "respond from api"
}
它会导致
NotFoundError
,但这在UI中起作用。我尝试过不同的解决方案(更新权限、主日历),但没有任何效果


此流在API级别是否存在任何约束?

您在邮箱中创建的
事件的事件ID将与
中的事件ID不同sachin@live.com
邮箱


您需要找到带有
sachin@live.com
邮箱,然后接受该id。

不应该有任何限制。我发现有两个问题可能会返回这样的错误。1.事件的Id不正确。2.您正在将应用程序帐户与/me终结点一起使用。事件Id正确。但我正在为图形API使用/me端点。我正在使用的端点:
https://graph.microsoft.com/v1.0/me/events//accept 
您的请求(根据错误消息)已近6个月。你有最近的吗<代码>“日期”:“2019-04-30T07:11:58”
最近的错误消息:`“错误”:“404-{“错误”:“{”代码\:“错误项未找到”,“消息\:\”:“指定对象未在存储中找到。\”,“内部错误\-”:{“请求id\”:“a8dad80c-92b5-4c86-bb4f-acbf2308a516\”,“日期\:“2019-10-22T12:52:16\”,“问题已解决,谢谢”