Skip to content

ecentic API errors.

Every failure on the ecentic API is a typed problem document, not an HTML page. The code is the contract: it is stable, machine-readable, and safe to branch on.

RFC 9457 · Stable codes · Resolution hints

01

The shape of a problem

One media type, one schema, on every 4xx and 5xx the API returns.

application/problem+json

Responses carry Content-Type: application/problem+json — deliberately not application/json, because the media type is how a generic client knows the body describes a failure rather than the resource it asked for.

Example response

Read the response

type
The URI naming the problem, anchored in this reference.
code
The stable identifier your client can branch on.
title
A short human-readable summary.
status
The HTTP status, repeated in the body.
detail
What went wrong on this particular request.
resolution
The next step to resolve the failure.
documentation
The reference page for the response.
instance
The request path that produced it, when known.
02

Error catalogue

Codes are frozen once published. Titles and hints may be reworded; codes may not.

12Published problem codes

Open a code to read its resolution. Every code has a permanent link.

Permanent link to not-found

How to resolve

Check the path against the OpenAPI document at /openapi.json or the API catalog at /.well-known/api-catalog.

Permanent link to method-not-allowed

Permanent link to unauthenticated

Permanent link to unauthorized

Permanent link to payment-required

Permanent link to subscription-required

Permanent link to invalid-request

Permanent link to validation-failed

Permanent link to conflict

Permanent link to rate-limited

Permanent link to upstream-timeout

Permanent link to internal-error