HTTP 401
invalid_api_key

Invalid API key

The supplied API key is invalid, expired, or revoked.

Resolution

Create or rotate a key in the developer portal.

Response handling

Keep the response's request_id for diagnostics. Retry only transient 429 and 503 responses, using the rate-limit headers and exponential backoff with jitter. Correct 400, 401, and 403 requests before retrying.