If you’re getting an error that reads “ERR wrong number of arguments for ‘smembers’ command” in Redis, it’s because you’re calling the SMEMBERS
command with the wrong number of arguments.
To fix this issue, make sure you’re passing the correct number of arguments. At the time of writing, the correct number of arguments for this command is one.
Continue reading