-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Server Security
-
Server Security 2026-08-28, Server Security 2026-09-11
-
None
-
None
-
None
-
None
-
None
-
None
-
None
This error code that is run when parsing a server parameter checks if the value of an element is a "list" or a "map". If so, it returns an error statement. The error message that is returned as a result is misleading and should be reworded to:
- Include the key and value of the failing element
- Not mention "map" as that does not exist in the BSON world
As an example server parameter that would trigger this failure:
"mirrorReads": { "maxTimeMS": 1000, "samplingRate": 0.01, "targetedMirroring": { "maxTimeMS": 1500, "samplingRate": 0.1, "tag": { "cacheState": "WARMING" } } },
Acceptance Criteria
Modify the error statement as specified above to make it clearer what is failing and adhere to BSON terminology. Consider logging this to stdout in addition to being returned in the error status