Error Response
When any error occurs, Horizon responds with a JSON document with the below attributes.
ATTRIBUTEDATA TYPE
DESCRIPTION
typeURL
The type of Status Code returned.
titlestring
A short title describing the Status Code, which can be used to look up more information about a error.
statusnumber
A short title describing the Status Code, which can be used to look up more information about a error.
detailstring
A short title describing the Status Code, which can be used to look up more information about a error.
extrasarray
If the Status Code is
Transaction Failed
, this extras field displays the Result Code returned by Stellar Core describing why the transaction failed.Show child attributes
envelope_xdrstring
A base64-encoded representation of the TransactionEnvelope XDR whose failure triggered this response.
result_xdrstring
A base64-encoded representation of the TransactionResult XDR returned by stellar-core when submitting this transaction.
result_codes.transactionstring
The transaction Result Code returned by Stellar Core, which can be used to look up more information about an error in the docs.
result_codes.operationsarray
An array of operation Result Codes returned by Stellar Core, which can be used to look up more information about an error in the docs.