
i cant retrieve my data

@Kenny

error getting data in tasks: AppwriteException: The current user is not authorized to perform the requested action.


this is how im creating the row

and the id is correct, i log it right before creating the row

this fails

maybe i should do something like this?

[Query.equal("creator", userId)]

ill try

You shouldn't have to do anything like this. The user should only get data they have access to

yea still doesnt work

can you show a screenshot of your collection settings and the document settings?

collection:

row:

idk what else to show you tbh

Console log current user id Check if both are same

yes they are

Try creating a new row In the console And use getRow for debugging

Do both your db tasks and db tests fail? Do they both have these exact permissions? Do you have any relationships?
Recommended threads
- The current user is not authorized to pe...
I'm just getting this error while it was working couple minutes ago, my users have permissions to access and create tables data but on some databases I'm just g...
- MFA SMS only brandable on self hosted in...
appwrite.auth.createSMSChallenge(); as triggered by error.type === 'user_more_factors_required' sends an SMS with a six digit code... but the sms is always from...
- expo-apple-authentication and appwrite
Hi everyone, I'm completely new to using Appwirte and would like to add the “Sign in with Apple” method to my app. I have successfully got OAuth with Apple u...
