Hi, I am running into some issues when trying to create a document which contains an already existing nested document (i.e. the nested documentId exists in the database). Appwrite throws an error saying The current user is not authorized to perform the requested action.
Here are some more details:
- All collections have the permission
Role("any") - When creating a document that contains an already existing nested document (existing
documentId), I get the error "The current user is not authorized to perform the requested action." - When deleting that nested document from the database and trying to create the same document, the creation is successful. Or when creating the same document but without the nested document, the creation is also successful.
According to the docs:
If a nested child document is included and the child document ID already exists, the child document will be updated.
There was an unresolved support ticket regarding this from a year ago. Is there any update? What are some alternatives I can take in the meantime?
Please share an appwrite.json with your collections and the request you're making
Recommended threads
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...
- Websites hosted on my appwrite sites hav...
Hello, all my websites hosted on appwrite sites are not running I am getting this message "This site can’t be reached drivehub.appwrite.network took too long t...
- Database Write Limits hit
Hello Appwrite Admins, I'm a GitHub Education user, and about a week ago, my database was really badly optimized, resulting in about 600k writes in a single day...