[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
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- [SOLVED] OAuth With Google & Flutter
Hi all, I'm trying to sign in with google and it all goes swimmingly until the call back. I get a new user created on the appwrite dashboard however the flutte...