Skip to main content
Version: 0.6

ApifyApiError

Error specific to requests to the Apify API.

An ApifyApiError is 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.

Hierarchy

Index

Methods

Methods

__init__

  • __init__(response, attempt): None
  • 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

Page Options