Error codes you may experience. Contact us in the discord if you need additional help. https://www.discord.gg/Quickscope
API key / auth errors
These are errors you may experience with your API key and generic access/auth errors.
| Message | Code |
|---|---|
| "Missing API key." | API_KEY_MISSING |
| "Invalid or expired API key." | API_KEY_UNAUTHORIZED |
| "Rate limit exceeded." | RATE_LIMIT_EXCEEDED |
| "Access denied: domain not allowed." | ACCESS_DENIED_DOMAIN |
| "Access denied: IP not allowed." | ACCESS_DENIED_IP |
| "An unexpected error occurred." | GENERIC_ERROR |
| "An unknown error occurred." | UNKNOWN_ERROR |
| "Method not allowed." | METHOD_NOT_ALLOWED |
Input validation
These errors are being thrown by validating the input of the request you are sending.
| Message | Code |
|---|---|
| "Invalid mint address." | INPUT_INCORRECT_MINT |
| "Mint address not found in database." | INPUT_MINT_NOT_FOUND |
| "Missing required parameters." | MISSING_REQUIRED_PARAMETERS |
| "Amount has to be more than 1." | INPUT_INCORRECT_AMOUNT |
| "Slippage has to be more than 1." | INPUT_INCORRECT_SLIPPAGE |
| "Incorrect provider it has to be one of: " + platforms.flat() | INPUT_INCORRECT_PROVIDER |
| "Incorrect program provided." | INPUT_INCORRECT_PROGRAM |
| "Invalid pool address." | INPUT_INCORRECT_POOL |
| "Invalid payer address." | INPUT_INCORRECT_PAYER |
| "Priority fee has to be more than 1000." | INPUT_INCORRECT_PRIORITYFEE |
Provider errors
Provider errors occur when a provider is currently disabled for maintenance, if you believe this is an error contact us.
| Message | Code |
|---|---|
| "This provider is currently disabled." | PROVIDER_DISABLED |
Information errors
Information errors occur when trying to pull information from the requested pools.
| Message | Code |
|---|---|
| "Requested pool could not be found." | POOL_NOT_FOUND |
| "Failed to decode the pool data." | POOL_DECODE_ERROR |
| "Pool buffer size is too small." | POOL_BUFFER_TOO_SMALL |
Quote errors
These errors are being thrown when you are dealing with getting quotes.
| Message | Code |
|---|---|
| "An error occurred while fetching the quote." | QUOTE_ERROR |
| "No valid pool data returned from Meteora CPAMM." | QUOTE_CPAMM_POOL_NOT_FOUND |
| "Failed to calculate quote." | QUOTE_CALCULATION_FAILED |
| "No valid pool data returned from Meteora DAMM." | QUOTE_DAMM_POOL_NOT_FOUND |
| "Failed to calculate quote for DAMM pool." | QUOTE_DAMM_CALCULATION_FAILED |
| "No valid pool data returned from Meteora DLMM." | QUOTE_DLMM_POOL_NOT_FOUND |
| "Failed to calculate quote for DLMM pool." | QUOTE_DLMM_CALCULATION_FAILED |
| "Couldn't find account info for the specified Orca Whirlpool pool." | QUOTE_WHIRLPOOL_ACCOUNT_NOT_FOUND |
| "Orca Whirlpool pool has insufficient liquidity." | QUOTE_WHIRLPOOL_LIQUIDITY_LOW |
| "Failed to fetch quote for the Orca Whirlpool pool." | QUOTE_WHIRLPOOL_QUOTE_FAILED |
| "Raydium V4 pool not found or returned invalid data." | QUOTE_V4_POOL_NOT_FOUND |
| "Raydium CLMM pool not found or returned invalid data." | QUOTE_CLMM_POOL_NOT_FOUND |
| "Raydium CLMM token vaults not found or returned invalid data." | QUOTE_CLMM_VAULT_NOT_FOUND |
| "Raydium CLMM amm config not found or returned invalid data." | QUOTE_CLMM_AMM_CONFIG_NOT_FOUND |
| "Raydium CPMM pool not found or returned invalid data." | QUOTE_CPMM_POOL_NOT_FOUND |
| "[PumpFun V1] Failed to fetch pool data for Pool" | QUOTE_PUMPFUNAMM_1 |
| "[PumpFun V1] Error: Pool reserves are zero." | QUOTE_PUMPFUNAMM_2 |
| "[PumpFun V1] Failed to get swap output amount for Pool" | QUOTE_PUMPFUNAMM_3 |
| "[PumpFun V1] Can't fetch token account balance" | QUOTE_PUMPFUNAMM_4 |
| "[PumpFun Prebonding] Couldn't get pool data for quote." | QUOTE_PUMPFUN_PREBONDING_1 |
| "Error fetching pools from database." | QUOTE_GET_POOLS |
| "There is no valid provider available." | QUOTE_NO_VALID_PROVIDER |
| "Failed to fetch active providers." | QUOTE_ACTIVE_PROVIDERS_1 |
| "Skipped unknown pool type during quoting." | QUOTE_UNKNOWN_POOL_TYPE |
| "Failed to fetch pools from database." | QUOTE_HANDLER_DB_1 |
Swap errors
These errors are being thrown when you are trying to get a swap.
| Message | Code |
|---|---|
| "An error occurred during the swap operation." | SWAP_ERROR |
| "This swap provider has been temporarily disabled." | TEMP_DISABLED_SWAP |
| "No valid pool data returned for Meteora CPAMM." | SWAP_CPAMM_1 |
| "Couldn't generate swap transaction for Meteora CPAMM." | SWAP_CPAMM_2 |
| "No valid pool data returned for Meteora DAMM." | SWAP_DAMM_1 |
| "Couldn't generate swap transaction for Meteora DAMM." | SWAP_DAMM_2 |
| "No valid pool data returned for DLMM." | SWAP_DLMM_1 |
| "Couldn't generate swap transaction for DLMM." | SWAP_DLMM_2 |
| "Could not find Orca Whirlpool account" | SWAP_WHIRLPOOL_1 |
| "Orca Whirlpool has no liquidity" | SWAP_WHIRLPOOL_2 |
| "No valid pool data returned from Raydium CLMM." | SWAP_CLMM_1 |
| "No valid pool data returned from fetchPoolById." | SWAP_CPMM_1 |
| "Cannot create versioned swap transaction." | SWAP_CPMM_2 |
| "No valid pool data returned from fetchPoolById." | SWAP_V4_1 |
| "[PumpFun V1] Failed to fetch pool data for Pool." | SWAP_PUMPFUNAMM_1 |
| "[PumpFun V1] Pool reserves are zero." | "SWAP_PUMPFUNAMM_2" |
| "[PumpFun V1] Failed to get swap output amount." | SWAP_PUMPFUNAMM_3 |
| "Failed to compute prebonding swap quote." | SWAP_PUMPFUN_PREBONDING_1 |
| "Could not resolve payer ATA or generate ATA instruction." | SWAP_PUMPFUN_PREBONDING_2 |
| "Failed to build prebonding transaction." | SWAP_PUMPFUN_PREBONDING_3 |
| "Something went wrong with getting the jito tip accounts" | SWAP_JITO_TIPACCOUNTS |
| "Something went wrong with creating the jito tip" | SWAP_JITO |
| "Something went wrong with getting the payer's associated token address" | SWAP_ATA |
| "User's associated token account not found." | USER_ATA_NOT_FOUND |
| "Insufficient funds for the swap" | SWAP_INSUFFICIENT_FUNDS |
| "There is no valid provider available." | SWAP_NO_VALID_PROVIDER |
| "No valid provider" | SWAP_INVALID_PROVIDER |
