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
- IMPORTANT! SOC-2 Request Failing
Issue requesting SOC-2. If tried other/private browser as well as filling in optional fields.
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- Appwrite (Dart SDK) (for package_info_pl...
Hi team! Many Flutter plugins now need package_info_plus 10.x and device_info_plus 13.x, but appwrite 25.4.0 still constrains package_info_plus: >=8.0.2 <10.0...