microsoftgraph / msgraph-sdk-ruby

Microsoft Graph Ruby client library for v1 APIs
https://graph.microsoft.com
MIT License
99 stars 68 forks source link

MicrosoftGraph::Models::ODataErrorsODataError when trying to fetch the list of messages #156

Closed andreimerfu closed 10 months ago

andreimerfu commented 10 months ago

Context: I'm trying to access the list of messages using the me.messages method. However, every time the following exception is raised without any other error message.

Any thoughts about how I can debug this? Thank you!

client.me.messages.get.resume
MicrosoftGraph::Models::ODataErrorsODataError: MicrosoftGraph::Models::ODataErrorsODataError
baywet commented 10 months ago

Hi @andreimerfu Thanks for trying the Ruby SDK and for reaching out. This object should have an error property and under it a message property with a detailed explanation. Let us know if you need anything else.

andreimerfu commented 10 months ago

Ok, I rescue the exception and I found the error message. Thank you!