This error was removed in v150
This error is no longer present in the current runtime. Existed from v138 to v150. Shown here for historical reference.
NetworkDoesNotExist
Error Removed v138 → v150 (removed) 19.0The netuid you passed doesn't correspond to an active subnet .
What This Means
The netuid you passed doesn't correspond to an active subnet.
Common Causes
- Typo in the netuid parameter (e.g., 12 vs 21)
- The subnet was dissolved or doesn't exist yet
- Using testnet netuids on mainnet or vice versa
How to Fix
- Query SubtensorModule.NetworksAdded(netuid) - returns true only for valid subnets
- Valid mainnet netuids are typically 0-52 (but verify current list)
- For subnet 0 (root network), you need minimum stake - check SubtensorModule.MinStakeForRoot
Storage to Check
SubtensorModule.NetworksAdded (removed)SubtensorModule.TotalNetworks (removed)
Runtime Info
- Pallet Index
- 19
- Error Index
- 0
- Error Code
- 19.0
- Removed In
- v150