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
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...
- Can't resume paused project
I have logged in in incognito, done the email verification and still get the invalid fingerprint error. What's the issue.
- I am currently seeking opportunities as ...
Hey! 👋 I'm a Shopify guy. Been building stores for 8+ years. Still haven't lost my mind. Barely. I make stores that don't suck fast, smooth, and actually built...