ApifyApiError
Hierarchy
- ApifyClientError
- ApifyApiError
Index
Methods
Methods
__init__
Create the ApifyApiError instance.
Parameters
response: requests.models.Response
The response to the failed API call
attempt: int
Which attempt was the request that failed
Returns None
Error specific to requests to the Apify API.
An
ApifyApiErroris thrown for successful HTTP requests that reach the API, but the API responds with an error response. Typically, those are rate limit errors and internal errors, which are automatically retried, or validation errors, which are thrown immediately, because a correction by the user is needed.