Errors carry the google.rpc envelope: error.code is the HTTP status as a number, error.status a name such as INVALID_ARGUMENT, and error.details[] holds objects typed by @type (e.g. google.rpc.BadRequest).
Gemini API · GET /v1beta/models · HTTP 400
Status: ✅ verified:server:prod · first seen 2026-10-24 · last confirmed 2026-10-27 · 33 confirmations from 2 vantages
What to do
- No client-side fix known (by design).
Dimensions
env: prod · plan: any · region: any · account_state: any
Evidence
Probe af:google-gemini:probe:error-envelope (declarative, source)
Observations: none from reporters yet.
Machine access
curl -s https://apifacts.dev/v0/check \
-H 'content-type: application/json' \
-d '{"target":{"method":"GET","url":"https://generativelanguage.googleapis.com/v1beta/models"},"error":{"status":400}}'
YAML: facts/google-gemini/errors-use-google-rpc-envelope.yaml
Data: CC BY 4.0 · apifacts registry · This page is generated; edit the YAML, not the page.