Field-Viewer API

All errors

auth.token_revoked

The access token has been revoked

HTTP status
401
Problem type
https://api.field-viewer.com/problems/auth.token_revoked
Catalogue
Generic (any operation)

What it means

The token was revoked by an administrator, or the connected app's access was removed under Settings → Connected apps.

What to do

Stop using the token. Ask an administrator for a new API token, or connect the app again.

Example response

Errors use RFC 9457 application/problem+json. Match on code (stable forever), not on title or detail, which are localised.

HTTP/1.1 401
Content-Type: application/problem+json

{
  "type": "https://api.field-viewer.com/problems/auth.token_revoked",
  "title": "The access token has been revoked",
  "status": 401,
  "detail": "The access token has been revoked",
  "instance": "/v1/context",
  "code": "auth.token_revoked",
  "requestId": "req_01jcz3k8m4f6a9t2x7v5q0wbne"
}

Returned by

No operation declares this code in its contract. The API can return it for any request, for example from the request pipeline before an operation runs.