
User17236006980903300577 (Customer) asked a question.
I'm going to authenticate the SMS I received on my phone.
I tried sms authentication with the authentication API (/api/v1/users/{userId}/factors/{factorId}/verify).
However, an error has occurred.
The error content is `Each code can only be used once. Please wait for a new code and try again.`.
Why is this happening.
For your information, that response will continue to be delivered even when you receive the new code.

Hi @User17236006980903300577 (Customer) , thank you for contacting Okta Community!
I've reviewed our documentation for something relevant. It looks like your question is more appropriate for our dedicated Okta Developer Forum. I advise reaching out via devforum.okta.com as they will have more insight into this topic.
In the meantime, you can reference the following articles from Okta Developer:
https://developer.okta.com/docs/reference/error-codes/#E0000082 (includes a sample error response)
https://developer.okta.com/docs/reference/api/factors/
https://developer.okta.com/docs/reference/api/authn/
While we'll do our best to answer your questions here, this medium is more inclined towards Okta's core products and features (non-developer work).
Regards.
--
Help others in the community by liking or hitting Select as Best if this response helped you.