60407: Authentication Token Error
VERIFY
ERROR
This error occurs when Verify cannot generate an AccessToken for a Verify Push enrollment request. Use the Verify AccessToken resource only for Verify Push enrollment and registration flows. This resource supports only the push factor type.
- You sent a
factorTypevalue that Verify Push does not support. The VerifyAccessTokenresource accepts onlypush. - You tried to use the Verify Push
AccessTokenflow for a non-push verification flow. TheAccessTokenresource is for creating or registering a Verify Push Entity or Factor, not for starting SMS, voice, WhatsApp, email, or other Verify channel verifications. - You attempted to reuse an access token pattern from another Twilio SDK product. Verify Push
AccessTokenvalues cannot be reused between Voice, Chat, or Video style token flows.
- Set
factorTypetopushwhen you create theAccessToken. - Generate the token from your backend for the correct Verify Service and return the token,
identity, and Verify Service SID to your client application as part of your Verify Push enrollment flow. - If you need SMS, voice, WhatsApp, email, or another non-push Verify channel, start a Verification with the appropriate
channelinstead of creating anAccessToken. - Use an immutable
identityvalue from your own system when you create the token, such as a UUID, GUID, or SID.