File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,20 @@ by chaining methods on the ``ServerApi.Builder``:
104
104
Troubleshooting
105
105
---------------
106
106
107
- .. include:: /includes/troubleshooting/stable-api.rst
107
+ Unrecognized field 'apiVersion' on server
108
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
109
+
110
+ {+driver-short+} raises this exception if you specify an API version and connect to a
111
+ MongoDB server that doesn't support the {+stable-api+}. Ensure you're connecting to a
112
+ deployment running {+mdb-server+} v5.0 or later.
113
+
114
+ Provided apiStrict:true, but the command count is not in API Version
115
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116
+
117
+ {+driver-short+} raises this exception if your ``MongoClient`` runs an operation that
118
+ isn't in the {+stable-api+} version you specified. To avoid this error, use an alternative
119
+ operation supported by the specified {+stable-api+} version, or set the ``strict``
120
+ option to ``False`` when constructing your ``ServerApi`` object.
108
121
109
122
API Documentation
110
123
-----------------
You can’t perform that action at this time.
0 commit comments