0

It seems that the following path:

https://graph.microsoft.com/beta/users/<userId>/Events

does not work anymore.

It breaks with an Internal Server Error(500) with the following message:

"Cannot cast Newtonsoft.Json.Linq.JObject to Newtonsoft.Json.Linq.JToken"

Thanks in advance!

d0kt0r1
  • 305
  • 1
  • 3
  • 15

2 Answers2

0

Sorry for the inconvenience. Due to breaking changes being rolled out to Beta endpoint, as described in this blog post, you are seeing /Events fail. some of the changes include datetime property renamed from dateTimeX to XDateTime, and new format for timezones and reminder info. As soon as our deployment is complete, the API should work fine for you.

Venkat Ayyadevara - MSFT
  • 2,850
  • 1
  • 14
  • 11
  • Thanks Venkat. You mean the .NET library used in the server side right? If you are talking about the client side, I did not mention the usage of any library, its a pure GET request that complies with the RESTFUL service of yours – d0kt0r1 Nov 11 '15 at 08:46
  • Sorry, I misunderstood your question. The root cause is still the breaking changes I mentioned. But I was assuming you were using a client library, and not a library used server side. We certainly need to have a better error message returned to you in this case. Have updated my answer. – Venkat Ayyadevara - MSFT Nov 11 '15 at 16:22
0

Deployment is complete the endpoint is returning expected information with the updated schema

Yina - MSFT
  • 1,756
  • 1
  • 12
  • 10