We receive Error when we pull the events from Office365 calendar Using Outlook Rest API

Sangeetha 1 Reputation point
2021-03-04T15:26:56.057+00:00

This is the error that I receive when I try to pull the events from Office 365. Using the calendarView API end point to pull the events

{ "error": { "code": "ErrorItemNotFound", "message": "The specified object was not found in the store." } }

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

1 answer

Sort by: Most helpful
  1. Deva-MSFT 2,266 Reputation points Microsoft Employee
    2021-03-08T12:22:09.027+00:00

    The error is telling that the object doesn't exist in the given store/mailbox.

    Try the following:
    (1) Make sure you can access the given item in Outlook
    (2) If yes, try accessing the item using Graph API and locate it's ID using Graph Explorer/POSTMAN. Then open the item programmatically using the above collected id and see if it works.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.