Skip to content

Server Over Capacity (server_over_capacity) ​

HTTP 503Horizon RFC 7807 ProblemCode: server_over_capacity
Type URI: https://orion.stellarchain.io/horizon-errors/server_over_capacity

The server is temporarily overloaded and cannot accept additional concurrent work.

Quick Fix & Resolution

Wait briefly and retry with exponential backoff.

Response Payload & SDK Handling ​

json
{
  "type": "https://orion.stellarchain.io/horizon-errors/server_over_capacity",
  "title": "Server Over Capacity",
  "status": 503,
  "detail": "This horizon server is currently overloaded. Please wait for several minutes before trying your request again."
}
typescript
import { Horizon } from '@stellar/stellar-sdk';

const server = new Horizon.Server('https://pubnet.stellarchain.io');

try {
  const res = await server.ledgers().limit(10).call();
} catch (err: any) {
  const problem = err?.response?.data;
  if (problem?.type === 'https://orion.stellarchain.io/horizon-errors/server_over_capacity') {
    console.error('[server_over_capacity] HTTP 503:', problem.detail, problem.extras);
  }
}
go
client := &horizonclient.Client{
    HorizonURL: "https://pubnet.stellarchain.io",
}
_, err := client.Root()
if hErr := horizonclient.GetError(err); hErr != nil {
    if hErr.Problem.Status == 503 {
        log.Printf("Problem (%s): %s - extras=%v", hErr.Problem.Type, hErr.Problem.Detail, hErr.Problem.Extras)
    }
}
bash
curl -i -s "https://pubnet.stellarchain.io/" \
  -H "Accept: application/hal+json"

Common Root Causes ​

  • In-flight concurrent request queue or memory pressure limit reached.

← Back to All 23 Horizon Error Codes

Open-Source Stellar Horizon & Orion Documentation under MIT License.