Stream EstateStream Estate
Reference

Error codes

HTTP codes and body format returned by the API

The API returns standard HTTP status codes with a problem+json body (RFC 7807).

Error format

{
  "type": "...",
  "title": "...",
  "status": 400,
  "detail": "Detailed explanation",
  "instance": "/properties?..."
}

Fields (per the Error schema in the OpenAPI):

FieldTypeDescription
typestringURI identifying the error type
titlestring | nullShort summary
statusnumberHTTP code
detailstring | nullDetailed description
instancestring | nullURI of the faulty request

422 Validation (ConstraintViolation)

Validation errors use the ConstraintViolation schema (always problem+json). The validation message is carried in the detail field (prefixed with the offending field path); there is no separate violations array:

{
  "type": "/validation_errors/c1051bb4-d103-4f74-8988-acbcafc7fdc3",
  "title": "Validation Failed",
  "status": 422,
  "detail": "name: This value should not be blank.",
  "instance": "/alerts"
}

Codes documented per endpoint

The OpenAPI endpoints declare the following codes depending on context:

CodeUsage
200Success (read)
201Resource created
204Success with no content (DELETE)
400Invalid request (malformed parameter)
403Access denied
404Resource not found
422Validation failed — message in detail

429 Too Many Requests is not declared on individual endpoint responses in OpenAPI: it is enforced globally by the upstream rate limiter (see Rate limits). Treat it as a possible response on any route, in addition to the codes in the table above.

Version 0.14.289Last updated

On this page