Back

401 unauthorized after `createEmailPasswordSession`

  • 0
  • Auth
Sir Laban
22 Jan, 2025, 17:49

I really don't understand why i'm getting this error, if the user is already logged then why does this happen? Can anyone point me in the right direction?

TL;DR
Developers are encountering a 401 unauthorized error after using `createEmailPasswordSession` in SvelteKit. It is suggested to check out the tutorial on appwrite.io for potential insights and solutions.
Kenny
22 Jan, 2025, 21:59

Are you using sveltekit? SSR? If so have you checked out this tutorial? It might give you some insight.

https://appwrite.io/docs/tutorials/sveltekit-ssr-auth/step-1

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more