
Yes i am. but why should it matter? i'm logged in to the user account in the server side

What are your collection permissions for what you're trying to access

my collection permission lets all users read the documents

What exactly are your permissions? Any or users?

Making any read doesn't fix it?

Users

Try this

let me give it a try

it works now. but I've two new problems
- Keeping the permission as "Any" will cause security issues. I only want my registered users to read the documents
- I've got a relationship attribute under the document I'm trying to read, which is not empty. I get all the data in the result, but the relationship attribute. it's showing an empty array there

If you can read it with any, then I think what Steven said about you not being correctly logged in might be the case

If any is working, it could mean you aren't login in ssr, can you give us more information about how are you login your user in the server?

sorry for the late everyone. so you were correct. my login was done on the server side. so all the cookies and stuff were stored on the server side. and Appwrite SDK makes requests from the client side. so what worked for me is to hit the endpoint manually from the server side

Thanks for the help everyone<3

[SOLVED] "Document not found" error even tho the document is there
Recommended threads
- I am trying to run appwrite storage list...
Hello! I am trying to use a command to return all of my files from my bucket. This is the cmd I am currently running: "appwrite storage list-files --bucket-id <...
- nextjs site template gets 500 for /v1/pi...
whats the right way to configure this? do i need to deploy a function? im loosing my hair and i can't get a nextjs site to work. pls help
- WebSocket connection failed - Realtime g...
I am using appwrite cloud + angular (appwrite 21.2.1). On Chrome, when I have a realtime subscribtion and I reload the page or navigate to another page, realtim...
