Skip to content

Invalid handoff link

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

On this page
Code
invalid_handoff
HTTP status
400

What it means

The handoff link was already used, has expired (it lasts 15 minutes) or is wrong.

A typical detail: The handoff link was already used, expired or is wrong. Create a new one in Perafly.

What to do

Create a new link in the dashboard and pass it on stdin: perafly login --handoff.

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/invalid_handoff",
  "title": "Invalid handoff link",
  "status": 400,
  "code": "invalid_handoff",
  "detail": "The handoff link was already used, expired or is wrong. Create a new one in Perafly.",
  "instance": "/v1/…",
  "requestId": "req_…"
}

All error codes