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-2extract-Error: [A human-readable error description] Rule of thumb: If you see the X-2extract-Error header, the problem is related to your proxy setup. If you don’t, the problem is on the target website’s side.

Gateway Errors (4xx & 5xx Codes)

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

400 Bad Request

This means there is a mistake in how you configured your request.

407 Proxy Authentication Required

This is the most common error and is always related to your access credentials or account status.

502 Bad Gateway

This indicates a temporary problem with the specific residential IP that was assigned to your request.

504 Gateway Timeout

This means the connection took too long.

Target Website Errors

If you receive an error code without an X-2extract-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: