20153: Invalid Issuer Or Subject
API
ERROR
This error occurs when the issuer or subject of the JSON Web Token provided to the Twilio API is invalid.
For Public Key Client Validation, the iss claim must be an API Key SID and the sub claim must be the Account SID.
- The
issclaim is missing. - The issuer entity (API Key) is suspended in Twilio.
- The
subclaim is missing. - The subject entity (account) is suspended in Twilio.
- The API Key SID in
issis not associated with the Account SID insub.
- If using Public Key Client Validation, ensure the account and the API key are valid and not suspended.
- Verify that both
issandsubclaims are present and correctly set: API Key SID inissand Account SID insub. - Confirm that the API Key used to sign the token is associated with the specified account.
- If needed, validate that the token is structurally sound using standard JWT tooling.