Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Analytics - JWT token is incorrectly formatted, and cannot be decoded


Level 1

We're using the new JWT functionality for Analytics API v2.0, following!AdobeDocs/adobeio-auth/master/JWT/

We're using the libraries and eventually seem to have everything hooked up, but we're still getting this back in Postman when we try to exchange the JWT token for an access token:


    "error_description": "JWT token is incorrectly formatted, and can not be decoded.",

    "error": "invalid_token"


Comparing our token to the one generated in the console, is showing that they're both decoding fine, the only difference is that our token has an extra Typ header:

JSON Web Tokens - - Google Chrome.jpg

So I have two questions:

1. Why would adding an extra Typ:JWT header cause an error?

2. Does anyone have any ideas how to remove that header?

0 Replies