Replies: 3 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Not sure what the issue is exactly? Not having issues indexing conversations/messages, also using meilisearch + Atlas, maybe you don't have meilisearch running? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Yes, I see. I just nvm un-installed 22.7 and installed 20.17. But the
damage has been already done. I had to erase all chats.
Here, he explains what happened:
_But how can this happen?
Well, the vast majority of the time this is due to improper validation of
the data you insert into the database and you will need to check your code
to make sure you are inserting valid UTF-8 characters.
But… it can also happen suddenly because one of your dependencies starts
doing strange things with strings after an automatic or unintentional
update.
This happened recently with Node.js version 22.7.0, which had major bugs in
the UTF-8 validation of strings and inserted invalid characters into the
strings, which were then passed to the database, corrupting it. Suddenly,
code that was working perfectly, started to mess up._
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
I'm getting this errors after the latest buildings. Looks likes it's a utf-8 string issue with Node.
I'm using MongoDB Atlas
In this thread below they're saying it's something related to Node update.
[](https://www.mongodb.com/community/forums/t/error-invalid-utf-8-string-in-bson-document-after-rebuild-on-windows/293410/2)
Steps to Reproduce
What browsers are you seeing the problem on?
Microsoft Edge
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions