
I am using appwrite for user authentication in my flutter app, but there seems to be an issue while logging out.
Error message: "AppwriteException: general_unauthorized_scope, User (role: guests) missing scope (account) (401)"
This error only appears when I try to log out with a newly created user. When I login and then try to logout, the logout function works fine.

That sound like what should be
When you try tu run the deleteSession
with no user logged in it will throw an error.

What you can do is to wrap it in try/catch
Recommended threads
- Simplest Appwrite + Riverpod + Go_router...
Hey, I managed to get native Google Sign-In working with Appwrite custom tokens and Riverpod/GoRouter, and I’m stuck on three things: --- ## 1) SDK user ident...
- Invalid URI. Register your new client on...
Hello everyone, I've had recovery password flow implemented for about over a year and I've tested it on both test and production projects. Recently one of my us...
- Native Sign in with Google/Apple Flutter
Is native sign in with google / apple in Flutter possible with Appwrite?
