Subtensor Standard Errors
This page documents the standard errors that can arise from Subtensor, the blockchain underlying the Bittensor network.
Related:
- Source code in GitHub
- Subtensor Custom Errors
- Substrate Errors - Errors from the underlying Substrate framework
The following outline of subtensor errors is provided for high-level reference and is not exhaustive. For a complete specification of all available errors, see the Subtensor API reference.
Network and Subnet Errors
SubNetworkDoesNotExist
The specified subnet does not exist.
RootNetworkDoesNotExist
The root network does not exist.
SubnetNotExists
Trying to perform action on non-existent subnet.
NotRootSubnet
Netuid does not match for setting root network weights.
CanNotSetRootNetworkWeights
Cannot set weights for the root network.
RegistrationNotPermittedOnRootSubnet
Operation is not permitted on the root subnet.
AllNetworksInImmunity
All subnets are in the immunity period.
MechanismDoesNotExist
Trying to register a subnet into a mechanism that does not exist.
SubNetRegistrationDisabled
Registration is disabled for this subnet.
NoNeuronIdAvailable
No neuron ID is available in the subnet.
Hotkey and Coldkey Errors
HotKeyNotRegisteredInSubNet
The hotkey is not registered in the specified subnet.
HotKeyAccountNotExists
The specified hotkey does not exist.
HotKeyNotRegisteredInNetwork
The hotkey is not registered in the specified subnet.
NonAssociatedColdKey
Request made by a coldkey that is not associated with the hotkey account.
HotKeyAlreadyRegisteredInSubNet
The caller is requesting a redundant registration for a neuron.
NewHotKeyIsSameWithOld
The new hotkey is the same as old one.
HotKeyAlreadyDelegate
The hotkey is attempting to become a delegate when already a delegate.
TransactorAccountShouldBeHotKey
The hotkey is required to be the origin.
NewColdKeyIsHotkey
New coldkey is hotkey.
ColdKeyAlreadyAssociated
The coldkey has already been swapped.
UnableToRecoverPublicKey
Public key cannot be recovered.
InvalidRecoveredPublicKey
Recovered public key is invalid.
HotKeySwapOnSubnetIntervalNotPassed
Attempting a hotkey swap on subnet too frequently.
Stake and Balance Errors
NotEnoughStake
The caller does not have enough stake to perform this action.
NotEnoughStakeToWithdraw
Not enough stake to withdraw.
NotEnoughStakeToSetWeights
Less than minimum stake required to set weights.
NotEnoughStakeToSetChildkeys
Parent hotkey doesn't have enough own stake.
NotEnoughBalanceToStake
Not enough balance in coldkey account.
BalanceWithdrawalError
Could not withdraw from coldkey account.
ZeroBalanceAfterWithdrawn
Balance would be zero after withdrawal.
StakeTooLowForRoot
Hotkey with too little stake attempting to join root subnet.
NotEnoughBalanceToPaySwapHotKey
Not enough balance to pay swapping hotkey.
NotEnoughBalanceToPaySwapColdKey
Not enough balance to pay for the swap.
AmountTooLow
Stake amount is too low.
ZeroMaxStakeAmount
Zero max stake amount.
CannotUnstakeLock
Cannot unstake lock amount.
NotEnoughAlphaOutToRecycle
Not enough AlphaOut to recycle.
CannotBurnOrRecycleOnRootSubnet
Cannot burn/recycle TAO from root subnet.
InsufficientLiquidity
Not enough liquidity in the pool.
SlippageTooHigh
Transaction slippage is above your limit.
TransferDisallowed
Transfers are disallowed on this subnet.
InsufficientBalance
The caller does not have enough balance for the operation.
Weight Setting Errors
NeuronNoValidatorPermit
Attempting to set non-self weights without being a permitted validator.
WeightVecNotEqualSize
Weight keys and values vectors have different sizes.