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

68007: Authentication Token Error


ERROR: 68007

error-68007 page anchor
VERIFY
ERROR

This error occurs when Twilio cannot generate a Verify Push AccessToken for your request. The AccessToken resource authenticates client-side requests that enroll or register a Verify Push Entity or Factor, and the required factorType value currently supports only push.

Possible causes

possible-causes page anchor
  • Your request to POST /v2/Services/{ServiceSid}/AccessTokens included a factorType value other than push.
  • Your application attempted to use the Verify Push AccessToken flow for a factor that is not part of the Push enrollment flow. The AccessToken resource is for Verify Push, while other Verify factors use their own Factor and Challenge resources.
  • The request parameters do not match the supported Verify Push enrollment pattern, which requires a valid identity and a supported factorType.
  • Set factorType to push when you create the AccessToken.
  • Use the AccessToken resource only for Verify Push enrollment or registration in your client application.
  • If you are building a non-Push Verify flow such as TOTP, switch to the factor-specific Verify API for that flow instead of the Push AccessToken flow. This follows from Twilio's Verify resource model, where AccessToken is documented for Push and Factor and Challenge are documented for Push and TOTP operations.
  • Confirm that identity is an immutable identifier from your system and that you are creating the token under the correct Verify ServiceSid, then retry the request.

Additional resources

additional-resources page anchor