Skip to content

The code expired or was already used

What the expired_token error from the Perafly API means and what to do about it.

On this page
Code
expired_token
HTTP status
400

What it means

The sign-in code expired (it lasts 10 minutes) or was already used.

A typical detail: Start the sign-in again.

What to do

Start the sign-in again with perafly login.

Read more: CLI

Example response

This is the shape of the answer. title and detail are in English, or in Turkish with Accept-Language: tr; detail appears when there's more to say.

{
  "type": "https://perafly.com/docs/errors/expired_token",
  "title": "The code expired or was already used",
  "status": 400,
  "code": "expired_token",
  "detail": "Start the sign-in again.",
  "instance": "/v1/…",
  "requestId": "req_…"
}

All error codes