application/problem+json media type. Only a response on that media type carries the envelope below:
type– A stable, versioned URI that identifies the problem type. Streaming Hub builds it ashttps://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 a5xxresponse, Streaming Hub scrubs the detail to the static stringinternal 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 onstatusin that case. Branch onstatusin 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.
