簡體   English   中英

獲取 ErrorItemNotFound

[英]Getting ErrorItemNotFound

我正在為 outlook 日歷使用圖表 api。 我經常收到 ({"error":{"code":"ErrorItemNotFound","message":"The specified object was not found in the store.","innerError":{"date":"2022-10- 06T04:31:59","request-id":"e1682a2b-eeed-4f34-9c55-218f5af8e83c","client-request-id":"e1682a2b-eeed-4f34-9c55-218f5af8e83c"}}})

我正在撥打的電話是https://graph.microsoft.com/v1.0/me/events/#{event_id}?$select=subject,body,bodyPreview,start,end,recurrence,showAs

其中 event_id 是我從 outlook 推送通知請求 ["resourceData"]["id"] 中獲得的 ID。

請幫忙。

當我們嘗試回購時,API 工作正常,請您嘗試使用 API - https://graph.microsoft.com/v1.0/me/events獲取事件列表,然后嘗試 select可用 ID,然后嘗試使用https://graph.microsoft.com/v1.0/me/events/{event_id}?$select=subject,body,bodyPreview,start,end,recurrence,showAs

在此處輸入圖像描述

注意:在您的 URL 中,您在 event_id 之前添加了 #,我假設這只是一個錯字,請確保您撥打的是正確的 API

希望這可以幫助

謝謝

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM