API PROBLEM DETAILS / RFC 9457

API error reference

API error definitions, HTTP statuses, and response examples based on RFC 9457.

Construct a response manually

Problem catalogue

15 definitions
400Standard starter

Malformed request

The server cannot process the request because its syntax or framing is invalid.

malformed-request
422Standard starter

Validation failure

The content type and syntax are understood, but the request content cannot be processed because it fails validation.

validation-error
401Standard starter

Authentication required

The request lacks valid authentication credentials for the target resource.

authentication-required
403Standard starter

Forbidden

The server understands the request but refuses to fulfill it.

forbidden
404Standard starter

Resource not found

The server did not find a current representation of the target resource, or is unwilling to disclose that it exists.

not-found
405Standard starter

Method not allowed

The request method is known by the server but is not supported by this resource.

method-not-allowed
409Standard starter

Conflict

The request conflicts with the current state of the target resource.

conflict
415Standard starter

Unsupported media type

The request content format is not supported for this method on the target resource.

unsupported-media-type
413Standard starter

Payload too large

The request content is larger than the server is willing or able to process.

payload-too-large
429Standard starter

Rate limit exceeded

The caller has sent too many requests in a given amount of time.

rate-limit
500Standard starter

Internal error

The server encountered an unexpected condition that prevented it from fulfilling the request.

internal-error
502Standard starter

Bad gateway

A server acting as a gateway or proxy received an invalid response from an upstream server.

bad-gateway
503Standard starter

Service unavailable

The server is temporarily unable to handle the request because of overload or scheduled maintenance.

service-unavailable
504Standard starter

Gateway timeout

A server acting as a gateway or proxy did not receive a timely response from an upstream server needed to complete the request.

gateway-timeout
409Domain example

Approval window closed

The requested approval conflicts with the submission’s current state because its approval window has closed.

approval-window-closed

These names and type URIs are template conventions, not an RFC-mandated catalogue. Your application chooses when each contract applies.