Rate this page:

Error 20107

Product: Platform

Error - 20107

Invalid Access Token signature

The signature for the Access Token provided was invalid.

Check that your code is correctly generating signatures using the algorithm and format expected by the Twilio API.

To check whether the Access Token is structurally correct, you can use the tools available at

Access Tokens are used by multiple Twilio SDKs, including Programmable Voice, Programmable Video, and Programmable Chat. For the details of Twilio's specific Access Token implementation, see the documentation.

Possible Causes

  • The supplied Account SID, API Key or API Secret is incorrect.

Possible Solutions

  • Ensure you're using the correct Account SID for your Live API Credentials.
  • Verify the API Key was generated for the same account as the supplied Account SID. (The API Secret is not the same as the Account Auth Token.)
  • Verify the API Secret is correct for the API Key being used and that no extra characters are included.
  • Check if the API Secret passes signature validation when used at
  • Generate a new API Key and Secret for the Account SID and try again.
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!