Skip to content

Waiting for approval

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

On this page
Code
authorization_pending
HTTP status
400

What it means

The sign-in code hasn't been approved in the browser yet.

A typical detail: Approve the request in the browser, then poll again.

What to do

Approve the code on perafly.com/authorize, then poll again at the interval you were given.

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/authorization_pending",
  "title": "Waiting for approval",
  "status": 400,
  "code": "authorization_pending",
  "detail": "Approve the request in the browser, then poll again.",
  "instance": "/v1/…",
  "requestId": "req_…"
}

All error codes