Skip to main content

General HTTP Errors

Trading API

GET /order returns these errors. Each is HTTP 400.

Equities API

Equity Order Errors

GET /order returns these errors for a request with an equity mint. Each is HTTP 400.

Get Equities Errors

GET /equities returns these statuses.

Submit Transaction Errors

POST /submit-transaction returns transaction errors as JSON-RPC error objects in an HTTP 200 response, as on a Solana RPC. Other failures use HTTP status codes.

Submit Transaction JSON-RPC Error Codes

Kit’s sendTransaction throws a SolanaError with the code in error.context.__code and the server message in error.context.__serverMessage. To read error.code and error.data.reason as the endpoint returns them, the app posts the request itself. The snippet reuses signedTransaction, headers, and DFLOW_EQUITIES_SUBMIT_URL from Submit a Sync Response.

Submit Transaction Rejection Reasons

After a rejection, the app calls the order endpoint again and the user signs the new transaction.

Submit Transaction HTTP Status Codes