Menu

Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Error 20159

Product: Platform

Error - 20159

Invalid Signature

The JWT provided to the Twilio API has an invalid or mismatching signature.

Possible Causes

  • Public key in the JWT does not match the actual private key used for signing the request.

Possible Solution:

  • Make sure the private key used for signing the JWT matches the public key identifier in JWT.
  • To check whether the JWT is structurally correct, you can use the tools available at jwt.io.