Skip to content

Horizon Error Codes (23 Codes) ​

Every error returned by Horizon-compatible endpoints on https://pubnet.stellarchain.io conforms to RFC 7807 Problem Details for HTTP APIs and includes a direct "type" link to https://orion.stellarchain.io/horizon-errors/<code>.

bad_request HTTP 400
Bad Request

The request you sent was invalid in some way (e.g. malformed query parameter, invalid cursor, invalid asset format, or out-of-range limit).

https://orion.stellarchain.io/horizon-errors/bad_request
before_history HTTP 410
Data Requested Is Before Recorded History

The requested ledger or cursor predates the earliest ledger retained by this instance.

https://orion.stellarchain.io/horizon-errors/before_history
client_disconnected HTTP 499
Client Disconnected

The client closed the HTTP connection before the server finished sending the response.

https://orion.stellarchain.io/horizon-errors/client_disconnected
forbidden HTTP 403
Forbidden

The client is not authorized to access the requested resource.

https://orion.stellarchain.io/horizon-errors/forbidden
invalid_accounts_params HTTP 400
Invalid Accounts Parameters

The `/accounts` collection endpoint requires exactly one filter parameter (`signer`, `sponsor`, `asset`, or `liquidity_pool`).

https://orion.stellarchain.io/horizon-errors/invalid_accounts_params
invalid_order_book HTTP 400
Invalid Order Book Parameters

The parameters specifying the SDEX order book pair (`/order_book`) are missing or invalid.

https://orion.stellarchain.io/horizon-errors/invalid_order_book
method_not_allowed HTTP 405
Method Not Allowed

The HTTP method used is not supported for this endpoint.

https://orion.stellarchain.io/horizon-errors/method_not_allowed
not_acceptable HTTP 406
An acceptable response content-type could not be provided for this request

The client requested a media type in the `Accept` header that the server cannot produce.

https://orion.stellarchain.io/horizon-errors/not_acceptable
not_found HTTP 404
Resource Missing

The requested URL route, account, ledger, transaction, operation, offer, liquidity pool, or claimable balance does not exist.

https://orion.stellarchain.io/horizon-errors/not_found
not_implemented HTTP 404
Resource Not Yet Implemented

The requested URL is planned but not yet implemented.

https://orion.stellarchain.io/horizon-errors/not_implemented
not_supported HTTP 400
Not Supported

The requested feature or parameter combination is not supported.

https://orion.stellarchain.io/horizon-errors/not_supported
rate_limit_exceeded HTTP 429
Rate Limit Exceeded

The client has sent too many requests in a given time window.

https://orion.stellarchain.io/horizon-errors/rate_limit_exceeded
resource_limit_exceeded HTTP 422
Resource Limit Exceeded

The query exceeded the server's scan/work budget or member fanout limit.

https://orion.stellarchain.io/horizon-errors/resource_limit_exceeded
server_error HTTP 500
Internal Server Error

An unexpected internal error occurred while processing the request.

https://orion.stellarchain.io/horizon-errors/server_error
server_over_capacity HTTP 503
Server Over Capacity

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

https://orion.stellarchain.io/horizon-errors/server_over_capacity
service_unavailable HTTP 503
Service Unavailable

The request cannot be serviced at this time because a required subsystem is warming up or temporarily unreachable.

https://orion.stellarchain.io/horizon-errors/service_unavailable
stale_history HTTP 503
Historical DB Is Too Stale

The node's ingested history is lagging behind the Stellar network tip beyond the configured staleness threshold.

https://orion.stellarchain.io/horizon-errors/stale_history
still_ingesting HTTP 503
Still Ingesting

Data cannot be presented because initial state or order book ingestion is still in progress.

https://orion.stellarchain.io/horizon-errors/still_ingesting
timeout HTTP 504
Timeout

The request or transaction submission timed out before completing.

https://orion.stellarchain.io/horizon-errors/timeout
transaction_failed HTTP 400
Transaction Failed

The transaction was well-formed XDR, but Stellar Core rejected it or one of its operations failed during execution.

https://orion.stellarchain.io/horizon-errors/transaction_failed
transaction_malformed HTTP 400
Transaction Malformed

The `tx` parameter could not be decoded as a valid base64-encoded Stellar `TransactionEnvelope` XDR structure.

https://orion.stellarchain.io/horizon-errors/transaction_malformed
transaction_submission_timeout HTTP 504
Transaction Submission Timeout

The transaction submission timed out waiting for ledger inclusion.

https://orion.stellarchain.io/horizon-errors/transaction_submission_timeout
unsupported_media_type HTTP 415
Unsupported Media Type

The request `Content-Type` header is not supported by this endpoint.

https://orion.stellarchain.io/horizon-errors/unsupported_media_type

Complete Summary Table ​

Error Code (type)HTTP StatusTitleDescription
bad_request400Bad RequestThe request you sent was invalid in some way (e.g. malformed query parameter, invalid cursor, invalid asset format, or out-of-range limit).
before_history410Data Requested Is Before Recorded HistoryThe requested ledger or cursor predates the earliest ledger retained by this instance.
client_disconnected499Client DisconnectedThe client closed the HTTP connection before the server finished sending the response.
forbidden403ForbiddenThe client is not authorized to access the requested resource.
invalid_accounts_params400Invalid Accounts ParametersThe /accounts collection endpoint requires exactly one filter parameter (signer, sponsor, asset, or liquidity_pool).
invalid_order_book400Invalid Order Book ParametersThe parameters specifying the SDEX order book pair (/order_book) are missing or invalid.
method_not_allowed405Method Not AllowedThe HTTP method used is not supported for this endpoint.
not_acceptable406An acceptable response content-type could not be provided for this requestThe client requested a media type in the Accept header that the server cannot produce.
not_found404Resource MissingThe requested URL route, account, ledger, transaction, operation, offer, liquidity pool, or claimable balance does not exist.
not_implemented404Resource Not Yet ImplementedThe requested URL is planned but not yet implemented.
not_supported400Not SupportedThe requested feature or parameter combination is not supported.
rate_limit_exceeded429Rate Limit ExceededThe client has sent too many requests in a given time window.
resource_limit_exceeded422Resource Limit ExceededThe query exceeded the server's scan/work budget or member fanout limit.
server_error500Internal Server ErrorAn unexpected internal error occurred while processing the request.
server_over_capacity503Server Over CapacityThe server is temporarily overloaded and cannot accept additional concurrent work.
service_unavailable503Service UnavailableThe request cannot be serviced at this time because a required subsystem is warming up or temporarily unreachable.
stale_history503Historical DB Is Too StaleThe node's ingested history is lagging behind the Stellar network tip beyond the configured staleness threshold.
still_ingesting503Still IngestingData cannot be presented because initial state or order book ingestion is still in progress.
timeout504TimeoutThe request or transaction submission timed out before completing.
transaction_failed400Transaction FailedThe transaction was well-formed XDR, but Stellar Core rejected it or one of its operations failed during execution.
transaction_malformed400Transaction MalformedThe tx parameter could not be decoded as a valid base64-encoded Stellar TransactionEnvelope XDR structure.
transaction_submission_timeout504Transaction Submission TimeoutThe transaction submission timed out waiting for ledger inclusion.
unsupported_media_type415Unsupported Media TypeThe request Content-Type header is not supported by this endpoint.

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