Skip to main content

HTTP status

Not returned as an HTTP status. Delivered as a terminal in-stream error frame (code: stream_duration_exceeded) and recorded in internal observability data (request_metrics).

Typical cause

The stream stayed open past the gateway’s maximum stream duration (60 minutes). This is a platform policy limit, not a provider failure — it bounds streams that remain alive far beyond any expected response length.

Resolution

Split the work into smaller requests and retry. A legitimate response should complete well within the limit; if you consistently hit it, reduce the requested output length.