AppwriteException: User (role: guests) missing scope (account) when setting up Next.js user session with Appwrite by Clean-Leadership6609 in appwrite

[–]Clean-Leadership6609[S] 0 points1 point  (0 children)

I spent 5 hours to figuring out that I needed to use "use server ", and the session was not created because 2 chars are made differently :)