Rate this page:

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
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!

Refer us and get $10 in 3 simple steps!

Step 1

Get link

Get a free personal referral link here

Step 2

Give $10

Your user signs up and upgrade using link

Step 3

Get $10

1,250 free SMSes
OR 1,000 free voice mins
OR 12,000 chats
OR more