Skip to main content
Ultra Swap API is no longer actively maintained and has been superseded by Swap V2.

Order Response

Order Response Codes

In cases where a quote is available but the swap simulation fails, there are error codes that can be returned.

Execute Response

Use the signature field to view the transaction in an explorer.

Execute Response Codes

Aggregator Swap Type Codes

RFQ Swap Type Codes

For Jupiter V6 Aggregator Program Codes, the error message will be parsed with description.

IDL

For the full and most up to date list of Jupiter V6 Aggregator Program Codes, you can refer to the IDL on an explorer.
If you need help identifying the other DEX program codes, please reach out in Discord.

Best Practices

It is important to understand the error codes to provide a better experience for your users, helping them make an informed decision or follow up step to help their transaction succeed.
See https://jup.ag/ as a reference to understand how we handle errors on the UI.