Getting ErrorItemNotFound

Rajat Agarwal 6 Reputation points
2022-10-06T05:47:58.017+00:00

Hi,
I am using graph api for outlook calendars.
Frequently I am getting ({"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"}}})

The call I am making is
https://graph.microsoft.com/v1.0/me/events/#{event_id}?$select=subject,body,bodyPreview,start,end,recurrence,showAs

Where
event_id is the id I get in request ["resourceData"]["id"] from outlook.

Please help.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,833 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Shivam Dhiman 5,946 Reputation points
    2022-10-06T19:16:31.99+00:00

    Hi @Rajat Agarwal

    I tested this endpoint and its working as expected.

    I would suggest you to get Event-ID using GET /me/events Graph API endpoint. Please refer to the below sample screenshot.
    248193-event.png

    Using this Graph API endpoint you will be able to get list of event objects in the user's mailbox. Please refer to this documentation for more details.

    After passing Event-ID in GET /me/events/{id} endpoint, we can get the details of a specific event in API response.
    Reference Screenshot:
    248170-event-id.png

    However if still this issue persists, I would recommend you to raise a support case with Microsoft Graph, a Support Engineer will be able to assist you better. You can raise support ticket from http://aad.portal.azure.com/ or https://admin.microsoft.com/#/support/requests.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.