59 — CommandNotFound
configurationcompatibility
The requested command is not recognised by this server version
What is happening?
CommandNotFound means the server does not recognise the command sent by the client. This usually indicates a version mismatch: the driver or application is sending a command that the server version does not support, or the command name is misspelled.
Common causes
- Driver using a feature introduced in a newer server version
- Typo in a manual runCommand invocation
- Running a sharding command against a standalone instance
- Attempting to use a deprecated command that has been removed