Service is temporarily unavailable (service_unavailable)
How to Resolve service_unavailable
- Inspect the
status(503),code(service_unavailable), anddetailfields in the JSON response. - For
400validation errors (invalid_*), verify query parameters against the Endpoints Reference or Statistics Catalog (GET /v3/statistics). - For
404errors (*_not_found), confirm the resource exists on Stellar Pubnet. - For
409,429,503, or504transient states, retry with exponential backoff.
Example Response & Client Handling
json
{
"type": "https://orion.stellarchain.io/problems/service_unavailable",
"title": "Service is temporarily unavailable",
"status": 503,
"detail": "Service is temporarily unavailable",
"code": "service_unavailable"
}typescript
const res = await fetch('https://pubnet.stellarchain.io/v3/statistics');
if (!res.ok) {
const problem = await res.json();
if (problem.code === 'service_unavailable') {
console.error('Orion /v3 Problem [service_unavailable]:', problem.detail);
}
}bash
curl -i -s "https://pubnet.stellarchain.io/v3/statistics" \
-H "Accept: application/json"