| Code | invalid_two_factor_code |
| Type | authentication_error |
| HTTP status | 401 |
| Default message | Invalid or expired verification code. |
What to do
Section titled “What to do”We could not tell who is calling. Check the credentials you send.
Every error has the same shape; error.code is this code, and meta.request_id is what to quote when you ask us about a request.
{ "error": { "type": "authentication_error", "code": "invalid_two_factor_code", "detail": "Invalid or expired verification code.", "documentation_url": "https://docs.baiyar.com/resources/errors/invalid_two_factor_code/" }, "meta": { "request_id": "req_…" }}