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: 20152
Error - 20152
Invalid Header
On this page
ERROR: 20152
Error - 20152
Invalid Header
Invalid Header
Positive Feedback
Negative Feedback
ERROR: 20152
error-20152 page anchor
Positive Feedback
Negative Feedback
PLATFORM
ERROR
Error - 20152
error---20152 page anchor
Positive Feedback
Negative Feedback
Invalid Header
invalid-header page anchor
Positive Feedback
Negative Feedback
The header of the JWT provided to the Twilio API was invalid.
Possible Causes
possible-causes page anchor
The structure of the header was invalid.
Required header values not provided
Provided header values invalid.
Possible Solution:
possible-solution page anchor
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.