Share via

Update calendar event is throwing error

Wasim Shaikh 0 Reputation points
2024-06-10T09:56:21.45+00:00

I am using UpdateEvent API to update calendar event. It is throwing error as "The specified object was not found in the store". This was working fine before.

API Used: https://graph.microsoft.com/v1.0/me/events/{EventId}

Request:

{
    "subject" : "Testing",
    "start": {
        "dateTime": "2024-06-10 13:30:00",
        "timeZone": "UTC"
    },
    "end": {
        "dateTime": "2024-06-10 14:00:00",
        "timeZone": "UTC"
    }
}
Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 46,456 Reputation points
    2024-06-10T10:11:34+00:00

    Hi @Wasim Shaikh

    Please make sure the target event is the logged in user's event and has not been deleted.

    Try calling the GET /me/events/{event_id} API to see if it exists.

    Hope this helps.

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

    Was this answer helpful?


Your answer

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