Whose Error Is It?
Redis printed this
WRONGTYPE Operation against a key holding the wrong kind of value
What it meansYou ran a command meant for one data type, such as a list or hash command, on a key that stores a different type of value.
The first thing to checkRun TYPE on the key to see what it holds; usually two parts of the code reuse the same key name for different types, so namespace your keys.