Hi Everyone!
We’re currently testing OTP via SMS in a real scenario using the /v1/otps/sms/send endpoint in our test environment.
We’ve been using the same phone number repeatedly during testing, and it was working fine initially. However, we’ve now started receiving the following error:
{
"status_code": 400,
"error_type": "too_many_unverified_factors",
"error_message": "We were unable to create a new auth factor. This user already has too many unverified factors."
}
What’s unexpected is that even when we try with different users, we continue to receive the same error.
Could you help us understand:
- What triggers this limit exactly?
- Is it tied to the phone number, the user, or both?
- How can we clear or reset these unverified factors for testing purposes?
We’re also concerned about this behavior potentially affecting production, so any guidance or best practices would be greatly appreciated.
Thanks in advance!