[CLOSED] Appwrite thinks that Creating a new document is updating a document
- 0
- Self Hosted
- Flutter
I'm getting an error trying to add a new document on my appwrite database. The error that sentry detected was Missing "update" permission for role "label:admin". Only "["any","users","user:6548688e403bccb1a2c1","user:6548688e403bccb1a2c1\/verified","users\/verified","team:6537e80e997d158f9352","member:6548832c3fc49ca93f31","team:6537e80e997d158f9352\/nurse","team:6537e80e997d158f9352\/doctor","label:nurse","label:doctor"]" scopes are allowed and "["label:admin"]" was given., while the error in the development tool is Server Error.
the collection rule are only users with label of doctor and nurse are allowed but only nurse can create a new document.
appwrite thinks that I'm updating a document when in fact I'm trying to create a new document
Appwrite thinks that Creating a new document is updating a document
I’m not certain, but my guess is that it has something to do with a relation in your Collection
[CLOSED] Appwrite thinks that Creating a new document is updating a document
Recommended threads
- TablesDB `updateRows` returns `database_...
Hi Appwrite team! I’m seeing a strange issue with TablesDB bulk row updates on a self-hosted Appwrite instance. **Environment** - Appwrite self-hosted `1.9.0` ...
- [SOLVED] Realtime Missing Channels
```js useEffect(() => { let subscription: RealtimeSubscription; async function loadChips() { try { const {rows: chi...
- Functions executed by events does not ap...
Hello, Running self-hosted Appwrite version 1.9.0 (with console 7.8.26). When functions are triggered by an event (eg. databases.\*tables.\*.rows.\*.create) doe...