Error 20159

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.

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.