60391: Challenge not found
VERIFY
ERROR
Twilio returns this error when the requested Challenge resource cannot be found in Verify. A Challenge represents a single verification attempt for an Entity using a Factor, and Challenge fetch and update requests are scoped by ServiceSid, Identity, and the Challenge Sid.
- The Challenge
Sidin your request does not match an existing Challenge resource. - The
Identityvalue in the request does not match the Entity that owns the Challenge. Verify requiresidentityto be an immutable external identifier, and Challenge operations are scoped to that Entity. - The
ServiceSidpoints to a different Verify Service than the one where the Challenge was created. Challenge requests are nested under a specific Service and Entity path. - Your application may be reusing a stale Challenge SID or combining values from different Services, Entities, or environments.
- Confirm that
ServiceSid,Identity, and the ChallengeSidexactly match the values returned when you created or previously fetched the Challenge. - If you do not have the current Challenge SID, list the Challenges for the Entity and verify that the resource exists before you fetch or update it. You can also filter the list by
factorSidorstatus. - Store and reuse the same immutable
identityvalue for the user across Entity, Factor, and Challenge operations. Do not substitute a different user identifier in later requests. - If you need a new verification attempt, create a new Challenge for the correct Entity and Factor, then use the new Challenge
Sidin subsequent requests.