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 – An 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. So does an Access Manager refusal that reaches you at a status other than 401, 403, or 503. Branch on status in these cases.

Client errors


Server errors