Skip to content

Commit

Permalink
*
Browse files Browse the repository at this point in the history
  • Loading branch information
ianf-mongodb committed Nov 15, 2023
1 parent b7ec513 commit 7d745d3
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions source/includes/fact-non-utf8-data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,24 @@ the collection have invalid UTF8 characters.

- If you query this data, the following error message displays:

.. warning::
.. warning::

Invalid UTF-8 string in BSON document.

- If you attempt to export the collection, the error message:

.. warning::

An error occurred while loading instance info: Invalid UTF-8
string in BSON document.

.. 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`

You can disable UTF8 validation by setting the ``enableUtf8Validation``
URI option to ``false``.
Expand Down

0 comments on commit 7d745d3

Please sign in to comment.