Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.
Unauthorized - Authentication required or invalid credentials

Fields

FieldTypeRequiredDescriptionExample
errorcomponents.UnauthorizedResponseErrorData:heavy_check_mark:Error data for UnauthorizedResponse{"code": 401,"message": "Missing Authentication header"}
openrouter_metadataDict[str, Nullable[Any]]:heavy_minus_sign:N/A
user_idOptionalNullable[str]:heavy_minus_sign:N/A