Spanly Docs
Gateway

Limits and troubleshooting

How the gateway behaves at your quota, its fail-open guarantees, and what each error means.

Quota never blocks traffic

Reaching your plan's monthly request limit does not stop the gateway from proxying. At the limit, every request still reaches your server and returns the correct response. Only monitoring fidelity is reduced: capture is sampled rather than fully stored. There is no setting that blocks proxying for billing reasons.

Fail-open

The gateway is fail-open by design. If Spanly capture, ingest, or the config service is degraded, your traffic keeps flowing to your server. You may see a gap in captured telemetry during the incident, but your users are not affected.

Common responses

StatusMeaningWhat to do
404 unknown gateway hostThe hostname does not map to a gatewayCheck the endpoint URL and that the gateway exists
503The gateway is disabledRe-enable it on the Gateway tab
502The gateway could not reach your serverCheck your server is up; the upstream status card shows this too
504Your server did not respond in timeRaise the upstream timeout, or check your server's latency
429Rate limited by the gatewayThe client exceeded your configured rate limit; it should honor Retry-After
413Request body too largeThe body exceeded your size cap
403Blocked by IP rulesThe client's IP is outside your allow list or in your block list
401A gateway client key is required or invalidSend a valid Authorization: Bearer spanlygw_...

For data handling, retention, and region guarantees, see the security and data handling page.

On this page