Skip to main content
Scrapely uses standard HTTP status codes to indicate the success or failure of an API request. The exact error.id returned in the JSON payload will tell you exactly what went wrong. If you are using the Python SDK, these error IDs are automatically converted into native Python exceptions inheriting from the ScrapelyException base class.
When using the REST API directly, errors are returned as a JSON object with an appropriate HTTP status code.

Detailed Error Codes

Below is a comprehensive list of every error ID returned by the Scrapely API, its corresponding HTTP status code, and its meaning. In the Python SDK, these translate directly to PascalCase exception classes (e.g. API_KEY_INVALID becomes APIKeyInvalid).

Authentication & Account Errors

General Request Errors

Crawler Errors

Instruction Errors

CAPTCHA Errors

Options Errors

Proxy Errors