Skip to content

The request was denied

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

On this page
Code
access_denied
HTTP status
400

What it means

A step of the device sign-in (the code perafly login shows) or of a handoff link didn't complete.

What to do

Follow the step the error names. If the code or link expired, 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/access_denied",
  "title": "The request was denied",
  "status": 400,
  "code": "access_denied",
  "instance": "/v1/…",
  "requestId": "req_…"
}

All error codes