From bb29a68d004193dc51056e9c220bd47c1b4a9620 Mon Sep 17 00:00:00 2001 From: ianf-mongodb <85948430+ianf-mongodb@users.noreply.github.com> Date: Wed, 15 Nov 2023 15:56:41 -0500 Subject: [PATCH] * --- source/includes/fact-non-utf8-data.rst | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/source/includes/fact-non-utf8-data.rst b/source/includes/fact-non-utf8-data.rst index 5133cb356..72178a8c0 100644 --- a/source/includes/fact-non-utf8-data.rst +++ b/source/includes/fact-non-utf8-data.rst @@ -3,24 +3,17 @@ the collection have invalid UTF8 characters. - If you query this data, the following error message displays: - .. warning:: +.. code-block:: none - Invalid UTF-8 string in BSON document. + Invalid UTF-8 string in BSON document. -- If you attempt to export the collection, the error message: +- If you attempt to export the collection, the following error message + displays: - .. warning:: +.. code-block:: none - .. code-block:: none - - An error occurred while loading instance info: Invalid UTF-8 - string in BSON document. - -.. error:: 10167 - - :message: "can't move shard to its current location!" - :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L305` + An error occurred while loading instance info: Invalid UTF-8 + string in BSON document. You can disable UTF8 validation by setting the ``enableUtf8Validation`` URI option to ``false``.