If you’re getting an error that reads “ERR syntax error” in Redis, it could be because you’re calling the SPOP
command with too many arguments.
At the time of writing, I find that I only get this argument when I pass too many arguments. If I pass no arguments, I get a different error.
Continue reading