mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
2.5 KiB
2.5 KiB
PaymentRequiredResponseError
Payment Required - Insufficient credits or quota to complete request
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
error |
components.PaymentRequiredResponseErrorData | ✔️ | Error data for PaymentRequiredResponse | { "code": 402, "message": "Insufficient credits. Add more using https://openrouter.ai/credits" } |
openrouter_metadata |
Dict[str, Nullable[Any]] | ➖ | N/A | |
user_id |
OptionalNullable[str] | ➖ | N/A |