NeNe Records dev

Problem Details

All API errors follow RFC 9457 — Problem Details for HTTP APIs. The type URI is canonical and stable across versions.

Response shape

{
  "type":   "https://nene-records.dev/problems/<slug>",
  "title":  "Human-readable summary",
  "status": 422,
  "detail": "Optional longer explanation",
  // ...extension fields
}

Problem types

https://nene-records.dev/problems/validation-error

Validation Error

422

One or more fields failed validation.

"errors": [{ "field": "name", "detail": "Name is required.", "code": "required" }]
https://nene-records.dev/problems/entity-type-not-found

Entity Type Not Found

404

No entity type exists with the given ID.

https://nene-records.dev/problems/entity-not-found

Entity Not Found

404

No entity exists with the given ID.

https://nene-records.dev/problems/entity-type-has-entities

Entity Type Has Entities

409

Cannot delete an entity type that still contains entities.

"entity_count": 42
https://nene-records.dev/problems/entity-type-slug-conflict

Entity Type Slug Conflict

409

An entity type with the given slug already exists.

https://nene-records.dev/problems/unauthenticated

Unauthenticated

401

Request is missing or has an invalid Bearer token.

https://nene-records.dev/problems/forbidden

Forbidden

403

The authenticated user does not have the required capability.

https://nene-records.dev/problems/setting-key-not-found

Setting Key Not Found

404

No setting exists with the given key.

https://nene-records.dev/problems/setting-value-invalid

Setting Value Invalid

422

The provided value is not valid for this setting key.

https://nene-records.dev/problems/rate-limit-exceeded

Rate Limit Exceeded

429

Too many requests from this IP address.

"retry_after": 42