I followed the https://appwrite.io/docs/tutorials/sveltekit and deployed my app to cloudflare. Everything works fine in my dev env but not cf pages. I always get 500 internal server error when I first navigate to /join
via typing in the URL. This error doesn't occur when I refresh the page or use links to navigate between pages. My repo is here. I also see a 401 message in the console, so I'm assuming this is somehow triggered by the account.get
method. Still, I would normally expect a tutorial to not lead to errors like this. This issue seems to occur whenever I import user
from $lib/user.ts
.
Recommended threads
- Issue with Authentication
I am stuck with authentication using appwrite. I am getting bad request 400 error when trying to register though we already have project, database, collection c...
- getaddrinfo EAI_AGAIN when using axios
I have this code to make a get request to an API ```javascript function fetchUserListPerPage(page) { return new Promise(async (resolve, reject) => { ...
- Appwrite CLI not working as expected
Until yesterday I was authenticated in my Appwrite instance through the CLI, and I was able to get my functions and deploy them manually. Today, when I went ba...