Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the
Error
Twilio error

20159: Invalid Signature

Twilio API Documentation and Error CodesAPI

Description

description page anchor

This error occurs when the JWT provided to the Twilio API has an invalid or mismatching signature.

Possible causes

possible-causes page anchor

The public key referenced in the JWT does not match the actual private key used to sign the token.

  • Ensure the private key used to sign the JWT corresponds to the public key identifier referenced in the token.
  • If needed, validate the JWT's structure and signature using standard JWT tooling before retrying.

Additional resources

additional-resources page anchor