CompactToken parsing failed with error code: 80049217

Stephen Gray 40 Reputation points
2023-04-12T06:42:00.4766667+00:00

I am using the me/calendars API to get the all calendars from the outlook for the user, it works in local server(send 200 server response), it respond with below error code , i gave the access for calendars.read, and calendars.readwrite permissions. and i attach the code which i used, the error code. I'm getting error like this parsing failed with error code: 80049217. Thanks in Advance

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,756 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-04-12T07:14:02.5733333+00:00

    Hello Stephen Gray,

    Thanks for reaching out!

    This error message "CompactToken parsing failed with error code: 80049217" generally occurs when the token used is invalid.

    Please refer to the similar post:

    Hope this helps. If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment"

    0 comments No comments