Hello,
Since today we encounter a strange issue regarding an insertOne into the MongoDB Atlas backend. We have adjusted nothing, no changes to rules, schema or functions but suddenly the inserts are failing.
The wild thing is that the error is not even consistent:
role “Customer” in “main.customerOrder” does not have insert permission for document with _id: ObjectID(“67e2c57fcaa0801c71a09ce2”): terms: unspecified fields in document: [paymentTermConditions note paymentTerms deliveryTerms]
role “Customer” in “main.customerOrder” does not have insert permission for document with _id: ObjectID(“67e2c577caa0801c71a09ce0”): destination: unspecified fields in document: [_id name street city contactPerson houseNo type postalCode country]`
role “Customer” in “main.customerOrder” does not have insert permission for document with _id: ObjectID(“67e2c886caa0801c71a09ce4”): contractInformation: unspecified fields in document: [contractNo _id]
The field that errors that randomly changes. Since we could not find any changes on our side we are afraid that Mongo itself changed something that led to this issues?