Ultimate

X_OUTBOUND_TOO_LARGE

Means

an outbound HTTP response body passed its byte cap

Typical cause

the response body passed outbound()'s maxBytes (default 16 MiB): the read was cancelled at the cap and nothing past it was held

Fix

outbound({ url, vendor, dial, deadlineMs, maxBytes: 64 * 1024 * 1024 }) to raise the cap, or read: 'stream' to consume the body in chunks

Listed under Core and runtime

This page as markdown