If you’re getting an error that reads “ERR wrong number of arguments for ‘hrandfield’ command“, it’s probably because you’re not passing any arguments when using the HRANDFIELD
command.
The HRANDFIELD
command requires at least one argument, and accepts up to three arguments (at the time of writing).