Error codes

The page contains the error codes for the Squid V1 API

Route API


message: "There is insufficient liquidity for this trade. Please decrease your input amount.",
statusCode: 400,
errorType: ErrorType.DexError,

message: `The input amount is not high enough to cover the bridge fee. Please send more than $${amountNeeded}`,
statusCode: 400,
errorType: ErrorType.RouteError,

message: "Price impact is too high. Try reducing the swap amount.",
statusCode: 452,
errorType: ErrorType.RouteError,

 message: "Cross-chain gas fee estimation is currently unavailable. Please refresh the page or try again later.",
statusCode: 400,
errorType: ErrorType.RouteError,

message: "Failed to estimate routes.",
statusCode: 400,
errorType: ErrorType.InvalidRequestError,

message: "Slippage must be between 0.01 and 99.99.",
statusCode: 400,
errorType: ErrorType.DexError,

General not support error
errorType: ErrorType.NotSupportedError,
statusCode: 400,

General route not support error
errorType: ErrorType.RouteError,
statusCode: 400,

Compliance error
statusCode: 400,
message: "Route not found, please contact support if the issue persists.",
errorType: ErrorType.UnknownError,

General service failure
errorType: ErrorType.UnknownError,
statusCode: 500,

Cosmos route error codes
message: "Unsupported route. Please try another one.",
errorType: ErrorType.RouteError,
statusCode: 400,

message: "Currently unable to get a quote from the Osmosis RPC",
errorType: ErrorType.DexError,
statusCode: 400,

message: "Missing fallbackAddresses field. For cosmos tx's it must be set.",
errorType: ErrorType.ValidationError,
statusCode: 400,

message: `Missing fallback address for Cosmos chain with slip44 type equals ${slip44}`,
errorType: ErrorType.ValidationError,
statusCode: 400,

message: "No paths found, please choose a different token pair",
errorType: ErrorType.RouteError,
statusCode: 400,

message: `Receiving gas with your swap is not supported yet for ${toChain.networkName}`,
statusCode: 400,
errorType: ErrorType.RouteError,

message: "GMP Calls directly from Axelar are not supported yet.",
statusCode: 400,
errorType: ErrorType.RouteError,

message: `Bridge fees (${feeAmount} ${bridgeToken.symbol}) are higher than the value of your transfer (${_bridgeAmount} ${bridgeToken.symbol}). Please increase your input amount to be greater than (${feeAmount} ${bridgeToken.symbol}).`,
statusCode: 400,
errorType: ErrorType.RouteError,

message: "Cosmos address validation failed. Invalid address",
errorType: ErrorType.ValidationError,
statusCode: 400,

message: "You must provide a fallback address of a chain with slip44 type equal to 118(e.g. cosmoshub, osmosis)",
errorType: ErrorType.ValidationError,
statusCode: 400,

Status API


message: "No transaction found in axelarscan",
statusCode: 404,
errorType: ErrorType.NotFoundError,

message: "Transaction Id is mandatory",
statusCode: 400,
errorType: ErrorType.NotSupportedError,

Tokens API


statusCode: 400,
message: "Token price is not available",
errorType: ErrorType.NotSupportedError,

message: `UNSUPPORTED_TOKEN: ${address}`,
statusCode: 404,
errorType: ErrorType.NotSupportedError,

message: `UNSUPPORTED_TOKEN_SYMBOL: ${symbol} on chain: ${chain.networkName} with id: ${chain.chainId}`,
statusCode: 404,
errorType: ErrorType.NotSupportedError,

Chains API


message: `UNSUPPORTED_CHAIN_ID: ${chainName}`,
statusCode: 400,
errorType: ErrorType.NotFoundError,

General errors

Geoblocked
status: "Error",
message: "Bad Request",
status: 400


status: "Rate Limited",
message:
  "Rate limit exceeded. Try again later or contact the Squid support team on Discord",
status: 429

Last updated