The current user is not authorized to perform the requested action., code: 401, type: user_unauthorized, version: 0.10.30
an end user can't create attributes
ok
Future serverResult = appWriteLogicExtender.database.createDocument(
collectionId: "ID",
databaseId: "ID",
documentId: ID.unique(),
data: {
'userId': "userId",
'account_balance': 0,
'email': "email",
},
);```
that was the code
must it be a cloud function task to auto execute when user creates an account?
this is creating a document. the title of your post was about creating attributes
but it's a similar problem...the user does not have access to create documents in this collection
ooooooo, I hought the data are attributes
Unauthorized during database document creation
Recommended threads
- Manual install docs are out of sync with...
I looked into the manual install docs issue for Appwrite 1.9.0 and wanted to share the findings, since this seems to need a bigger docs decision. What I found:...
- Migration from Self-Hosted to Cloud seem...
Hello, I'm trying to migrate from my Self-Hosted Appwrite instance to Cloud, and can't figure out what's going wrong. - If I initiate the migration from Cloud...
- custom domain on self host Appwrite
I am having a issue, i am using self host version of appwrite at my custom domain (appwrite.example.com), but when i tried adding a custom domain (project1.exam...