Skip to content

Error Codes

When working on chain there are error messages. What do they mean?

CustomTransactionError::ColdkeyInSwapSchedule => 0,\
CustomTransactionError::StakeAmountTooLow => 1,
CustomTransactionError::BalanceTooLow => 2,
CustomTransactionError::SubnetDoesntExist => 3,
CustomTransactionError::HotkeyAccountDoesntExist => 4,
CustomTransactionError::NotEnoughStakeToWithdraw => 5,
CustomTransactionError::RateLimitExceeded => 6,
CustomTransactionError::InsufficientLiquidity => 7,
CustomTransactionError::SlippageTooHigh => 8,
CustomTransactionError::TransferDisallowed => 9,
CustomTransactionError::HotKeyNotRegisteredInNetwork => 10,
CustomTransactionError::InvalidIpAddress => 11,
CustomTransactionError::ServingRateLimitExceeded => 12,
CustomTransactionError::InvalidPort => 13,
CustomTransactionError::BadRequest => 255,
CustomTransactionError::ZeroMaxAmount => 14,

Description: Your coldkey is set to be swapped. No transfer operations are possible.

Description: The amount you are staking/unstaking/moving is below the minimum TAO equivalent.
Minimum: 500,000 RAO (0.0005 TAO)

Description: The amount of stake you have is less than you have requested.

Description: This subnet does not exist.

Description: Hotkey is not registered on Bittensor network.

Description: You do not have enough TAO equivalent stake to remove/move/transfer, including the unstake fee.

Description: Too many transactions submitted (other than Axon serve/publish extrinsic).

Description: The subnet’s pool does not have sufficient liquidity for this transaction.

Description: The slippage exceeds your limit. Try reducing the transaction amount.

Description: This subnet does not allow stake transfer.

Error Code 10 HotKeyNotRegisteredInNetwork

Section titled “Error Code 10 HotKeyNotRegisteredInNetwork”

Description: The hotkey is not registered in the selected subnet.

Description: Axon connection info cannot be parsed into a valid IP address.

Description: Rate limit exceeded for axon serve/publish extrinsic.

Description: Axon connection info cannot be parsed into a valid port.

Description: The executable amount must be greater than zero.

Description: Unclassified error.