Error type · 400

key-required

A malformed query or body; a cursor or since token the server never gave; a platform missing where one is needed; a pairing without a device key, on a server that issues only bound tokens (§ 5.4)

Status
400
code
key_required
type
https://lantern.boreale.dev/errors/key-required
When
A malformed query or body; a cursor or since token the server never gave; a platform missing where one is needed; a pairing without a device key, on a server that issues only bound tokens (§ 5.4)

As a server sends it (application/problem+json, RFC 9457), with a detail for people when it has one:

{
 "schema": 1,
 "type": "https://lantern.boreale.dev/errors/key-required",
 "title": "Key required",
 "status": 400,
 "code": "key_required"
}

Every error type · The specification, § 12