Errors/Chain errors

InvalidIpAddress

Check the argument values against the operation schema

View as Markdown

The ip argument to serve_axon or serve_prometheus is not a valid address for the declared ip_type (prometheus additionally rejects the zero address). Verify the IP encodes correctly as IPv4 or IPv6 and matches the ip_type passed.

Declared by the SubtensorModule pallet; it classifies to the semantic code invalid_argument.

Declared at pallets/subtensor/src/macros/errors.rs#L15.

Remediation

Check the argument values against the operation schema

The same explanation is available in the terminal: btcli explain InvalidIpAddress.