Hello,
first of all, sorry for my bad english, it's not my natural language.
I try to create a collection of appointments (RendezVous). I set an attribute in relation with another collection of patients.
When I create a new document in appointments, it works if the patient doesn't exists. It creates the patient and the appointment. But if the patient already exist, it throws me a 401 error.
Thanks for your help.
TL;DR
Developers are encountering a problem when creating a document with a relationship attribute. If the patient doesn't exist, it works fine, creating both the patient and the appointment. However, if the patient already exists, a 401 error is thrown. They are seeking assistance.