API error · HTTP 401

invalid_credentials

absent, malformed, unknown, expired or revoked credential; also the uniform sign-in answer and the dead-session answer.

What it means

absent, malformed, unknown, expired or revoked credential; also the uniform sign-in answer and the dead-session answer.

How to handle it

Obtain a valid credential and sign in again; do not use this response to distinguish why authentication failed.

Wire contract

Codeinvalid_credentials
Classauthentication
HTTP status401
Meta keysNone
RaisedYes

The response uses the standard {"error": {…}} envelope. Branch on error.code, not the human-readable message. Preserve request_id when reporting a failure.