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
- 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...
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...