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

  1. Driver using a feature introduced in a newer server version
  2. Typo in a manual runCommand invocation
  3. Running a sharding command against a standalone instance
  4. Attempting to use a deprecated command that has been removed

Diagnostic Steps

Related Issues