erroris a message for developers. Don’t show it to end users.detailsis present for validation failures. It lists each problem with its field path.
Status codes
Retrying safely
Retry429, 500, and 503 responses with exponential backoff and a random jitter. Don’t retry 400, 401, 403, or 404; fix the request first.
When you retry a request that creates a record, send the same idempotency key so the record isn’t created twice. See Idempotency.