That error is returned from the Microsoft Graph API. Whenever you have a token problem like that, it's always helpful to parse the token and see if there's something wrong with it (as the error indicates). Can you try parsing it at https://jwt.ms?
Also, what type of account are you signing in with, an Office 365 account, or a personal Outlook.com account?
Do check <token> part. Is it bytes rather than a utf-8 decoded string?
To check if this is really a token issue, try this: can you go to Graph Explorer and try signing in with that same account, then see if you can make same API call?
Please upvote if this helps. Thanks!