Hi @Udai Goyal ,
I am able to replicate this issue at my end and resolved this error by following this documentation. This error happens when the token used is invalid, (“Bearer”+space+token )this is the correct way to pass like a parameter the token.
I am attaching screenshot from Postman for your reference:
- Without space between Bearer and token:
- After giving space between Bearer and token:
Similar Post: https://github.com/OneDrive/onedrive-api-docs/issues/785
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.