JAM Error Codes
Detailing the error codes that can be returned by API endpoints
It's not always sunshine and rainbows! After rigorous testing we've devised error codes for each endpoint that gives you clarity on exactly what went wrong. Here at Bebop we prepare for the worst case, so you can have the best experience.
/quote Errors
101
InvalidApiRequest
The API request is invalid - incorrect format or missing required fields
106
GasExceedsSize
Execution cost (gas) doesn't cover the trade size
108
RouteNotFound
A route for the desired trade could not be found
111
RateLimited
Occurs due to rate limit breach. Please contract us for increased rate limits.
/order Errors
201
OrderInvalidContract
The transaction has failed preliminary simulation on EVM execution
202
LastLook
The order has failed last look. Something may have changed on-chain and the order couldn't be filled
203
OrderExpired
The order has expired before it could be executed
204
InsufficientTakerBalance
The user does not have sufficient balance of the given token in their wallet to settle the order
205
InsufficientTakerApproval
The user does not have enough approval on the Bebop settlement contract for the given token
208
TransactionExecutionError
The transaction could not be executed, for example the order signature is invalid.
210
InvalidQuoteId
User is trying to place an order on a QuoteID that does not exist or on which an order has already been placed.
211
InvalidPermitsInfo
Permit or Permit2 signature provided is incorrect
212
InvalidOrderInput
sign_scheme
doesn't contain one of the following values: EIP712, EIP1271, ETHSIGN
500
UnknownError
An unknown error occurred processing the order
522
TimedOut
The solver did not process the order in time.
General Errors
500
UnknownError
Unknown error - most likely an unhandled backend exception
522
TimedOut
Connection timed out
Last updated