Skip to main content

Troubleshoot Errors

CODEMESSAGESTATUSDESCRIPTIONSOLUTION
The x-user-ip header must be set to the end-user IP address400 Bad RequestInvalid IP addressUse a valid IP address in the x-user-ip header.
BAD_USER_INPUTInvalid receiving address400 Bad RequestsettleAddress is invalidUse the correct settleAddress that aligns to the settleCoin. In case of BTC as settleCoin, use on-chain addresses only.
BAD_USER_INPUTInvalid refundDestination400 Bad RequestrefundAddress is invalidUse a valid refundAddress that aligns with the depositCoin. In case of BTC as depositCoin, use on-chain addresses only.
BAD_USER_INPUTThis refund address belongs to SideShift.ai400 Bad RequestrefundAddress being used is the example address or owned by SideShift.aiUse a valid refundAddress that you own.
BAD_USER_INPUTThis settle address belongs to SideShift.ai400 Bad RequestsettleAddress being used is the example address or owned by SideShift.aiUse a valid settleAddress that you own.
BAD_USER_INPUTUnknown affiliateId400 Bad RequestInvalid affiliateId was used in variable shiftUse the affiliateId from your account found at https://sideshift.ai/account.
BAD_USER_INPUTQuote has different affiliateId than input400 Bad RequestAffiliateId used in fixed shift creation differs from the quote requestUse the same affiliateId for fixed shift creation as the one used in the quote request.
BAD_USER_INPUTQuote has already expired. Request a new quote.400 Bad RequestquoteId is no longer valid for a fixed shift after expiration timeRequest a new quote.
BAD_USER_INPUTInvalid "affiliateId"400 Bad RequestInvalid affiliateId was used in the quote requestUse the affiliateId from your account found at https://sideshift.ai/account.
BAD_USER_INPUTdepositAmount must be greater than zero400 Bad RequestdepositAmount is 0 or lessUse a value greater than 0.
METHOD_NOT_FOUNDMethod XX/XX not found400 Bad RequestEither the values for depositCoin and depositNetwork or settleCoin and settleNetwork do not belong to a supported methodEnsure that the coin supports the network being used, and vice versa. See /v2/coins for a list of supported cryptocurrencies and their respective networks.
BAD_USER_INPUTBad request: Invalid parameters: list of invalid parameters400 Bad RequestInvalid parameter(s)Ensure all parameters are correctly formatted and valid
SESSION_REQUIREDDo not use the example affiliateId and x-sideshift-secret header from the documentation. Use your own from https://sideshift.ai/account401 UnauthorizedExample affiliateId or x-sideshift-secret was usedUse your account's actual affiliateId and x-sideshift-secret from https://sideshift.ai/account.
BAD_USER_INPUTYou have too many open orders. Cancel some, use the existing ones, or wait. To receive a higher open order limit, message https://t.me/sideshiftai_devs403 ForbiddenExecuted too many order requestsCancel some, use the existing ones, or wait. To receive a higher open order limit, message https://t.me/sideshiftai_devs.
ACCESS_DENIEDAccess denied. See https://sideshift.ai/access-denied403 ForbiddenIP address being used in the x-user-ip header is not allowedFor a list of prohibited jurisdictions, please check out https://help.sideshift.ai/en/articles/2874595-why-am-i-blocked-from-using-sideshift-ai.
NOT_FOUNDAccount not found404 Not Foundx-sideshift-secret is invalidUse your account's private key as the x-sideshift-secret from https://sideshift.ai/account.
NOT_FOUNDOrder not found404 Not FoundInvalid shiftId query param being used in /shift or /bulk shifts endpointUse a valid shiftId(s) as query param.
depositAddress missing200 OKDeposit addresses are unassigned after 60 days (40 days for EVM token deposits), at which point the field is null and the address may be reassigned.Persist the address when the shift is created, treat it as nullable in /v2/shifts/{shiftId}, /v2/shifts, and /v2/bulkshifts, and never send funds to an expired-order address.
BAD_USER_INPUTInvalid network500 Internal Server ErrorIncorrect/missing depositNetwork or settleNetworkUse/add correct depositNetwork or settleNetwork. See /v2/coins for a list of supported cryptocurrencies and their respective networks.
BAD_USER_INPUTInvalid coin500 Internal Server ErrorInvalid depositCoin or settleCoinUse a supported coin for depositCoin and settleCoin. See /v2/coins for a list of supported cryptocurrencies and their respective networks.
BAD_USER_INPUTAmount too low. Settle amount is less than or equals to 0500 Internal Server ErrorsettleAmount is less than or equals to 0Use a higher value.
QUOTE_UNAVAILABLEAmount too low. Minimum deposit amount: X500 Internal Server ErrordepositAmount is too lowUse a higher value. See /v2/pair for the minimum deposit value.
QUOTE_UNAVAILABLEAmount too high. Maximum deposit amount: X500 Internal Server ErrordepositAmount is too highUse a lower value. See /v2/pair for the maximum deposit value.
SHIFT_UNAVAILABLEDeposit and settle method must be different500 Internal Server ErrordepositCoin and depositNetwork values are similar to settleCoin and settleNetworkEnsure that methods being used are different.
BAD_USER_INPUTMemo is not supported for this settle coin500 Internal Server ErrorsettleCoin being used does not supports memoCheck if the network for the settleCoin is included in the networksWithMemo array using /v2/coins.
BAD_USER_INPUTMemo is not supported for this deposit coin500 Internal Server ErrordepositCoin being used does not supports memoCheck if the network for the depositCoin is included in the networksWithMemo array using /v2/coins.
UNKNOWNInternal Server Error500 Internal Server ErrorThe quoteId being used in creating fixed shift is invalidUse a valid quoteId