Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "The specified object was not found in the store." error when calling GET /me/events/{id} #2398

Open
v-mghabin opened this issue Mar 25, 2024 · 11 comments

Comments

@v-mghabin
Copy link

We are using "Microsoft.Graph" package with Version "4.54.0" and trying to get calendar event by its id but for some events we are getting the following error:
"The specified object was not found in the store."
I've opened MS Teams and went that online meeting and get the ID and tried it from https://developer.microsoft.com/en-us/graph/graph-explorer but I've got the same error knowing that the event or meeting is exist.

@andrueastman
Copy link
Member

@v-mghabin Any chance you can provide more information on the way the event item is created? Is the API call made a short time after the creation? Or is the event still unretreviable?

@v-mghabin
Copy link
Author

The event has been created ~2 weeks ago using MS Teams, and I can access it through MS Teams but not through get calendar event by its id API. And it is still unretrievable

@andrueastman
Copy link
Member

Any chance you can try out filtering the events with a query using the subject or another property as below to confirm if the Id from teams is the same id that MS graph uses?

https://graph.microsoft.com/v1.0/me/events?$filter=contains(subject, 'New product')

@v-mghabin
Copy link
Author

I've filtered it out, and it sounds that event id from MS teams is different from MS graph.
So, what is the solution for this knowing that I'm using the chatId to get chat entity then from that I'm using the OnlineMeetingInfo property for getting the calendar event Id?

@andrueastman
Copy link
Member

Thanks for confirming @v-mghabin

So, what is the solution for this knowing that I'm using the chatId to get chat entity then from that I'm using the OnlineMeetingInfo property for getting the calendar event Id?

We may not be best placed to answer this really as this repo is mainly intended mainly for SDK related issues. Any chance you can post the same query at the link below to get feedback from the API side of things? It would be great if you could post back the link here so that anyone who has the same question could find the info.

https://learn.microsoft.com/en-us/answers/tags/161/ms-graph

@v-mghabin
Copy link
Author

@andrueastman
I think there is misunderstanding here as it is confusing a little bit,
My case is that I'm using GraphAPI .NET SDK client to get the chat entity using chatId, and then from that chat entity I'm looking for the event id, and after all of this I'm trying to get the event entity using eventId. So, I believe this issue is relevant to GraphAPI not MS Teams as I'm not requesting MS Teams at all.

@v-mghabin
Copy link
Author

@andrueastman
Kindly pining

@alson26899
Copy link

@v-mghabin I am also getting the same issue
while adding users to a live module with ms teams providers
im getting this error ,

ServiceException: Code: ErrorItemNotFound
Message: The specified object was not found in the store.
ClientRequestId: eab70144-949b-4c30-bed2-cf56de2c7736

AsyncHelpers.RunSync(() => graphServiceClient.Users[userId].Events[meetingId]
.Request()
.Header("Prefer", "outlook.timezone="UTC"")
.UpdateAsync(updateEvent));
Do you find any solution?
i am using Microsoft graph 4.54.0

@v-mghabin
Copy link
Author

@alson26899
Unfortunately, I'm still looking for a solution.
Could u pls attach solution if you find any?

@andrueastman
Copy link
Member

Any chance you can try posting the issue at https://aka.ms/askgraph.
As the issue here really is with regards to how the Graph API is behaving, we may not be best placed to know the issue as this repo is mainly intended for issues with the client library.

@v-mghabin
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants