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
- API key without database.read/write
I had some issues with my previous API key and I deleted it then I wanted to create a new one and discovered the database checkbook has no database.read/write j...
- dynamic key missing scopes for database ...
Here are the scopes listed, I get permission errors for reading row and document. Appears to be missing since last time i checked. Database 6 Scopes policies....
- Selfhost - Starting Docker containers fa...
I am stuck at installing appwrite. Specifically, the containers dont want to start up. The images are downloaded and ready. Dockhand is reporting containers st...