Field-Viewer API

All errors

auth.anonymous_not_allowed

This action needs an account

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

What it means

The session is an anonymous try-it session. It may only view its own tryout model and call the operations marked anonymous access.

What to do

Create an account or sign in, then repeat the action.

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 403
Content-Type: application/problem+json

{
  "type": "https://api.field-viewer.com/problems/auth.anonymous_not_allowed",
  "title": "This action needs an account",
  "status": 403,
  "detail": "This action needs an account",
  "instance": "/v1/context",
  "code": "auth.anonymous_not_allowed",
  "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.