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

Sangeetha 1 Reputation point

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,387 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Deva-MSFT 2,256 Reputation points Microsoft Employee

    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.