Error
Error Code:
323
MongoDB Error 323: API Strict Mode Violation
Description
MongoDB Error 323, or APIStrictError, indicates that an operation violates the configured API strictness rules. This typically occurs when an application attempts to use commands, options, or features that are not explicitly allowed or are deprecated under the current API version strictness settings.
Error Message
A P I Strict Error
Known Causes
4 known causesDeprecated API Usage
An application is using a method, command, or option that has been removed or deprecated in the API version enforced by the MongoDB server.
API Version Mismatch
The application's driver is attempting to interact with the MongoDB server using an API version that is incompatible with the server's configured strictness settings.
Improper API Configuration
The `apiVersion` or `strict` settings in the client connection string or options are misconfigured, leading to unintended enforcement of stricter API rules.
Unsupported Operation in Strict Mode
An operation is attempting to execute a command or use an option that is not part of the explicitly defined API surface for the strict API version.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service