ERR unknown subcommand: ERR unknown subcommand or wrong number of arguments
RedisWhat does it mean?
A container command (e.g. CONFIG, CLIENT, ACL, XINFO) received an invalid subcommand, or the subcommand was sent the wrong number of arguments. Redis did not recognize the subcommand.
Why does it happen?
A typo in the subcommand name, a subcommand not present in the Redis version in use, a wrong/missing argument count, or incorrect subcommand syntax.
How to fix it
Use the correct subcommand name and arguments; consult the command's HELP subcommand (e.g. CONFIG HELP, CLIENT HELP). Verify that your Redis version supports that subcommand. Fix the argument count and syntax according to the documentation.
More from this engine
- ERR DUMP payload version or checksum are wrongERR DUMP payload version or checksum are wrong
- NOREPLICASNOREPLICAS Not enough good replicas to write
- ERR This instance has cluster support disabledERR This instance has cluster support disabled
- ERR Client sent AUTH, but no password is setERR AUTH <password> called without any password configured for the default user (Redis 6+) / ERR Client sent AUTH, but no password is set (Redis <6)
- ERR DEBUG command not allowedDEBUG command not allowed
- ERR Can't save in background: fork failedBackground save failed: fork failed
- NOPROTO unsupported protocol versionUnsupported RESP protocol version