Errors

device_code_invalid

400 – Unknown device code. No login is pending for that device code.

Unknown device code. Answered with 400.

What it means

No login is pending for that device code. A device code is not reusable.

What to do

Run tigby login again.

The body

{
  "type": "https://tigby.eu/problems/device_code_invalid",
  "title": "Unknown device code",
  "status": 400,
  "detail": "…what was refused, naming this request's own values",
  "code": "device_code_invalid",
  "doc_url": "https://docs.tigby.eu/errors/device_code_invalid",
  "agent_hint": "…the next step, for software"
}

Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.