Skip to main content
The Go 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"}
OpenrouterMetadatamap[string]any:heavy_minus_sign:N/A
UserID*string:heavy_minus_sign:N/A