A refusal is an RFC 9457 problem, application/problem+json, whose type is urn:nodeasset:problem: and its code. Branch on the code and its check, never on detail. A write’s refusal comes as the call’s answer or, once the write runs, as its operation’s problem, and each route’s page lists the codes it answers by status.

Fields

Statuses

Examples

A 400 lists every invalid field:
A 409 names the control, the rule and the recovery:
A 422 refuses what the request asks:
A 429 says when to try again:

Codes from a kind of route

These codes are not listed again on each route’s page:

Codes

400 Bad request

401 Unauthenticated

403 Forbidden

404 Not found

405 Method not allowed

409 Conflict

413 Too large

415 Unsupported format

422 Unprocessable

429 Too many requests

500 Internal error

503 Unavailable

Related: Conventions · How the API works