A 401 Unauthorized error indicates that the provided token is wrong. Please ensure that your token
- is being used within the correct environment (test or prod)
- is a JSON token with a signature encrypted with your authentication key
- has a valid payload. Consult our documentation for the required claims: https://teamassently.gelato.io/docs/versions/1.2/more-about-the-jwt-auth-token
To double check whether your token has a correct signature you can paste it into this tool https://jwt.io/ and paste your authentication key into the verify signature box. If the signature is not valid you will have to regenerate the token with the correct signature.