Menu

Expand
Rate this page:

Error 20154

Product: Platform

Error - 20154

Invalid Claim Set

The JWT could be parsed, but the claims in the payload section are invalid.

Possible Causes

  • One of the required claims is missing.
  • For JWTs used as part of Public Key Client Validation, we require two custom claims:
  • “hrh” - HTTP headers that were included when calculating the request hash
  • “rqh” - The hash of the HTTP request

Possible Solution:

  • Make sure you are using the latest Twilio Helper Library
  • For the details on JWTs used as part of Public Key Client Validation, see the documentation
  • To check whether the JWT is structurally correct, you can use the tools available at jwt.io.
Rate this page:

Thank you for your feedback!

Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

thanks-feedback-gif