OxylabsError

One error response from the API, or a network failure that lasted past the retry limit.

Usage

Source

OxylabsError(
    *,
    status_code,
    message,
    trace_id=None,
)

It chains the httpx2 exception.

Attributes

status_code

The response’s status code, or None for a network failure.

message

The body’s message, or its errors joined when it has none, or else the reason phrase.

trace_id
The ID that Oxylabs support asks for, or None when the response names none.

oxyscraper is not affiliated with or endorsed by Oxylabs. Oxylabs and Oxy are trademarks of Oxylabs.