Proxy error codes explained
When the residential or mobile gateway cannot serve a request, it answers with one of nine codes instead of the page, and nothing is charged. Two of them mean "fix your request", two mean "your account needs an action", the rest mean "retry". ISP and datacenter proxies never answer with a code: they close the connection instead (see the empty-reply article).
Written By Carmine Cella
Last updated 1 day ago
When the residential or mobile gateway cannot serve a request, it answers with one of nine codes instead of the page, and nothing is charged. Two of them mean "fix your request", two mean "your account needs an action", the rest mean "retry". ISP and datacenter proxies never answer with a code: they close the connection instead (see the empty-reply article).
Is it the gateway or the target?
Responses from the gateway carry the header X-Datafuel-Gateway: 1. A 403, 429 or 503 without that header came from the website you asked for: the request went through, the site refused it, and it counts as traffic like any other. For those, change the targeting (another city, a sticky session) or move the target to the Unlocker API.
Retry rules
- 410, 421, 500, 503: safe to retry, with exponential backoff starting at one second.
- 406, 407, 417: fix the request first; the same request gives the same answer.
- 402, 423: your account needs an action before any retry can succeed.
Related
Was this helpful?
Still need help? Ask the team