API error
service_unavailable
HTTP 503 · no credit is used for a request that ends in an error.
Validation is paused for a short time, for example while a dependency recovers. No credit was used. GET /v1/status answers it while no status information is available, and GET /v1/latency while its test answer is not in the cache, both with Retry-After: 60.
What to do
Wait for Retry-After, then retry. In sign-up forms, accept the address and check it later.
Retry
Yes, after Retry-After. When and how often to retry any error: retrying safely.
The answer
{
"error": {
"code": "service_unavailable",
"message": "The service is temporarily unavailable. Please retry later.",
"request_id": "req_7Hq2LmX9cV4bN8tR1zK6wD"
}
}Branch on code, which is stable; message is for people and may change. Keep request_id in your logs.
Headers that come with it:
X-Request-Id: Our ID for the request (same asrequest_idin bodies).Retry-After: Seconds to wait before retrying.
Endpoints that can answer it
GET /v1/validate(503)POST /v1/validate(503)GET /v1/credits(503)GET /v1/usage(503)POST /v1/bulk(503)GET /v1/bulk/{id}(503)DELETE /v1/bulk/{id}(503)POST /v1/bulk/{id}/start(503)GET /v1/bulk/{id}/results(503)GET /v1/status(503)GET /v1/latency(503)POST /a2a(503)