CannotRegister

Error v136 → current 17.0

Your account does not meet the requirements to register an identity .

Encountered by: validatorsdeveloperswallets

Why This Error Exists

Identity registration requires meeting specific requirements, primarily having enough free TAO to cover the deposit. This error means one of the prerequisites wasn't met. Most commonly, this is a balance issue - you need enough TAO to reserve as deposit.

Deep Dive

The registration check verifies: 1) You have enough free balance for the deposit (InitialDeposit + FieldDeposit per additional field), 2) The identity info is properly structured, 3) Field count doesn't exceed MaxAdditionalFields. If any check fails, you get CannotRegister.

Debugging Example

You call set_identity with 2 additional fields. InitialDeposit is 0.1 TAO, FieldDeposit is 0.1 TAO. Total needed: 0.3 TAO. Your free balance is 0.2 TAO. Error: CannotRegister. Solution: Add 0.1 TAO to your account, or reduce to 1 additional field (0.2 TAO total).

Prevention Tips

  • Calculate total deposit before calling: InitialDeposit + (FieldDeposit * additional_fields)
  • Query System.Account to verify sufficient free balance
  • Leave buffer for transaction fees beyond the deposit

From Chain Metadata

Account attempted to register an identity but doesn't meet the requirements.

What This Means

Your account does not meet the requirements to register an identity.

Common Causes

  • Insufficient free balance to pay the identity deposit
  • Account doesn't have enough TAO for InitialDeposit + FieldDeposits
  • The identity info provided is malformed or invalid

How to Fix

  • Check your free balance with System.Account query
  • Ensure free_balance >= InitialDeposit + (FieldDeposit * additional_fields)
  • Verify the identity info structure is valid
  • Check Registry.InitialDeposit and Registry.FieldDeposit constants for costs

Storage to Check

System.Account (removed)Registry.IdentityOf

Runtime Info

Pallet Index
17
Error Index
0
Error Code
17.0
Runtime Version
v393