Skip to main content
When you make a request through the 2extract.com proxy gateway, there are two potential sources of errors:
  1. Our Gateway: Errors related to your account, authentication, or proxy configuration.
  2. The Target Website: Errors returned by the website you are trying to scrape.
To help you instantly distinguish between these, our gateway adds a special HTTP header to any error it generates: X-Proxy-Error: [A human-readable error description] Rule of thumb: If you see the X-Proxy-Error header, the problem is related to your proxy setup. If you don’t, the problem is on the target website’s side. To see the header, run your request with verbose output:

Gateway Errors (4xx & 5xx Codes)

These are errors generated by our system. Always check the X-Proxy-Error header for specific details.

400 Bad Request

A targeting parameter in your username is wrong. Fix the username and retry.

407 Proxy Authentication Required

The gateway did not accept your credentials, or the proxy is not allowed to work right now. A 407 without an X-Proxy-Error header means your IP is not in the proxy’s Authorized IPs list. Add your current IP, or clear the list. A 407 is also returned when your account balance has run out - top up your balance - or when the proxy is Suspended after reaching its usage limit - raise or remove the limit in the proxy settings.

500 Internal Server Error

The gateway accepted your credentials but could not complete the request through an exit IP. The X-Proxy-Error header carries a numeric code: IPv6 targets are not supported - use the IPv4 address or the hostname.

Target Website Errors

If you receive an error code without an X-Proxy-Error header, it means our proxy successfully connected to the target, but the target itself rejected your request. Here are the most common ones you’ll encounter while scraping: