Hello,
I keep getting this error: AppwriteException: The current user is not authorized to perform the requested action.
However, I am given full access to the collection and I gave the All access to view the collections. I am now unsure how this can be an issue when I set permissions up correctly.
const promise = databases.getDocument('66297275000fdd77a26f', '662972bf00173ab3d363', '6629781f002d752eb79f')
promise.then((response) => {
return response;
}, (error) => {
console.log(error)
});```
code
I idealy want it so only logged in users can view it, however doing this for troubleshooting
Recommended threads
- SSR share session to client using custom...
Hi, so I was trying to get a hang of using SSR and using realtime updates in the same time which is done easiest if you have a custom domain in Appwrite and as ...
- Getting error when trying to add domain ...
we use self hosted appwrite on my company and every single time ever I tried to add a domain it shows this error on the top rigth: "Cannot read properties of un...
- Using OTP Email to verify user for passw...
Has anyone ever implemented this? If you did what was your aproach? Did you write an appwrite function?