Skip to content

Errors

errors #

APIError #

An API error.

status #

status: int

The HTTP status code.

message #

message: str | None

An error message, if provided.

InvalidPayloadError #

Error raised when spotify sends an invalid JSON payload that cannot be decoded.