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

Example Usage

import { UnauthorizedResponseError } from "@openrouter/sdk/models/errors";

// No examples available for this model

Fields

FieldTypeRequiredDescriptionExample
errormodels.UnauthorizedResponseErrorData:heavy_check_mark:Error data for UnauthorizedResponse{"code": 401,"message": "Missing Authentication header"}
userIdstring:heavy_minus_sign:N/A