Back
anonymous user not authorized to create document even with label set.
- 0
- Self Hosted
- Auth
- Databases
- Web
I am trying to create a document as an anonymous user. Setting the create to users did not work, so I tried adding a label for the anon user.
See attached for the user's labels, the READ works fine with label:anon, but the create doesn't.
TL;DR
Anonymous developer is unable to create a document even after setting a label for the user. The error message indicates that the permissions must include 'label:anon'. The READ operation works fine with the label 'anon', but the CREATE operation does not.TypeScript
{
code: 401,
type: 'user_unauthorized',
response: {
message: 'Permissions must be one of: (any, users, user:6793ef198664357f1abf, user:6793ef198664357f1abf/unverified, users/unverified, label:anon)',
code: 401,
type: 'user_unauthorized',
version: '1.6.0'
}```
Recommended threads
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...
- Appwrite 1.9.0 doctor fails tho database...
So i was testing in a local environment the upgrade for 1.9.0, and after getting everything into a running state, i checked the logs that shows : ``` └── Cre...