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
- hi guys! my site is not accesible in my ...
- Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...