Files
openrouter-python-sdk-retry…/docs/errors/unauthorizedresponseerror.mdx
T

14 lines
2.4 KiB
Plaintext

---
title: "UnauthorizedResponseError"
---
Unauthorized - Authentication required or invalid credentials
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| `error` | [components.UnauthorizedResponseErrorData](../components/unauthorizedresponseerrordata.mdx) | :heavy_check_mark: | Error data for UnauthorizedResponse | \{<br/>"code": 401,<br/>"message": "Missing Authentication header"<br/>} |
| `openrouter_metadata` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A | |
| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | |