Skip to content
Skip to navigation
Skip to topbar
Twilio Logo
Twilio Docs
Search
Search
Messaging
Voice
Serverless
Flex
Studio
All docs...
SDKs
Help
Help
Search
Log in
Sign up
On this page
ERROR: 20159
Error - 20159
Invalid Signature
On this page
ERROR: 20159
Error - 20159
Invalid Signature
Invalid Signature
Positive Feedback
Negative Feedback
ERROR: 20159
error-20159 page anchor
Positive Feedback
Negative Feedback
PLATFORM
ERROR
Error - 20159
error---20159 page anchor
Positive Feedback
Negative Feedback
Invalid Signature
invalid-signature page anchor
Positive Feedback
Negative Feedback
The JWT provided to the Twilio API has an invalid or mismatching signature.
Possible Causes
possible-causes page anchor
Public key in the JWT does not match the actual private key used for signing the request.
Possible Solution:
possible-solution page anchor
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
(link takes you to an external page)
.