Skip to content

All error codes

This is an OAuth client file, not a service account key

GPL-3844

Why it happens

The content is an OAuth client JSON file (with "web" or "installed", a client_id and a client_secret), not a service account key. The service account key field takes the key with "type": "service_account", a client_email and an RSA private key.

What to do

In the Google Cloud console, open IAM & Admin › Service accounts, choose the service account › Keys › Add key › Create new key, type JSON, and use the downloaded file as it is. The OAuth client ID and secret go in their own fields.

HTTP status
422
Retry
Does not help