-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.1.9
-
Component/s: Aggregation Framework
-
Query
-
ALL
-
The errorcode returned from validation failures is generally `121`.
In the case of write failure by `aggregate $out` however it returns a generic failure code, and the error message contains a long bson-loooking string, with the correct error code – but not something drivers can be expected to programmatically deal with.
- is related to
-
DRIVERS-250 Support bypassDocumentValidation
- Closed
-
SERVER-18227 Document Validation
- Closed