I have some simple code to mark an error as solved
doc = self.data.find_one({"id": int(errid)}) print(doc) up