Skip to main content
Error format Streaming Hub returns most errors as RFC 9457 problem details with the application/problem+json media type. Only a response on that media type carries the envelope below:
Field definitions
  • type – A stable, versioned URI that identifies the problem type. Streaming Hub builds it as https://errors.lerian.studio/v1/<code>, and omits it for a problem it assigns no code to.
  • title – A short human-readable summary, which is the HTTP status text (for example, Not Found).
  • status – The HTTP status code, mirrored in the body.
  • detail – A caller-safe explanation of this occurrence. For a 5xx response, Streaming Hub scrubs the detail to the static string internal error, so no internal cause leaks.
  • code – The stable, low-cardinality, machine-readable token to branch on. A request-validation fault, and a request that matches no route, arrive with this field empty. Branch on status in that case. Branch on status in that case.

Client errors


The authentication and authorization layer runs ahead of Streaming Hub. A 401 or a 403 that this layer refuses returns a plain text body, not a problem document. That body carries no code.

Server errors