Soo after fixing all the errors, we now got a brand new one: SAP may have returned an invalid UTF-8 string, which made it into a MongoDB database. The application now crashes since the driver throws an error, and I can't delete the broken document because Mongo Compass only shows an error as soon as the document is supposed to be shown in the list. Cool shit.