hm maybe inside the astro file it thinks it's a server and not a user?
Probably
wouldn't that return a permission error though
instead of the collection ID error
Or it gets/tried to be executed where the astro file is saved instead
yeah I mean the why could be a few things but the other confusing thing
is that when I call it on the dashboard I use a persistentMap storage with Nanostores
which should locally store it, but that's empty too
I think not
hm
yeah
that's it
so should I use the server SDK?
Nope
From what I see here: https://github.com/appwrite/demos-for-astro they're managing it by having a separate typescript file to handle appwrite related stuff
Sincerely I don't have knowledge on how Astro works, since web development isn't my main specialization, plus every 5 seconds, a new JS framework is released 😆
honestly Astro is great
To debug, you can try looking at the network requests to see what's going on and if the various cookies and headers are correct
Probably not but I also don't know Astro
If a user doesn't have access to something, they'll get a 404. This is to hide the fact that the document even exists
okay so
What I think I should do
is look at the headers Astro sends and has
and probably make an integration for Astro + Appwrite huh
maybe. i dunno anything about astro
Recommended threads
- Error When load the website
Hi, I am getting this error whenever I reload my website please help me, I am using react Error: ** GET https://cloud.appwrite.io/v1/account 401 (Unauthoriz...
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...