← Error reference

totp_invalid

Invalid two-factor code

HTTP 401 retry will not help
Cause
The code did not match. The usual reasons are a device clock that has drifted or a code from the previous time window.
What to do
Wait for the next code and try again. If that does not help, check the time on your device: codes are tied to the clock.

Response example

{
  "type": "https://docs.kupikod.business/errors/totp_invalid",
  "title": "Invalid two-factor code",
  "status": 401,
  "code": "totp_invalid",
  "retryable": false,
  "doc_url": "https://docs.kupikod.business/errors/totp_invalid",
  "request_id": "req_01J…"
}