Technical Support

Ask a Question
Back to All

Generating an access token triggers an error when using it in Authorization Bearer.

I am testing an app locally and correctly generated the accessToken from the OAuth endpoint.
I am following the docs to use this token to retrieve data.

I get the following data in response to my request :
{ message: "'$myToken' not a valid key=value pair (missing equal-sign) in Authorization header: 'Bearer $myToken'" }
Where I replaced my own access_token generated previously with $myToken in the message.

Am I doing something wrong with the token ? The API endpoint I'm using is https://api.poap.tech.
Thank you for your help,