This is probably a dumb question, but its been confusing me for the past week. I’m using MongoDB to manage perks for members in a Discord guild, and when a user is verified after joining they have their data set up for usage in the rest of the bot. Recently, when that first write occurs, it never actually writes. There’s no error thrown, nor any hint that it failed except when the other parts of the bot relying on the data fail. The weirdest part is, if the function to set up the data is called again, it works flawlessly. I’ve stepped through every line, and monitored the database on each write as I step through. The relevant code is here: MongoDB_Error_Relevant_Code.js · GitHub