Skip to content

invalid_two_factor_code

invalid_two_factor_code: HTTP 401, authentication error. Invalid or expired verification code.


Code invalid_two_factor_code
Type authentication_error
HTTP status 401
Default message Invalid or expired verification code.

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_…" }
}

All error codes