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
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support π I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...
- context deadline exceeded
Hi, in one of my projects i continuously receive context deadline exceeded when trying to reach users API from my local machine: https://fra.cloud.appwrite.io/v...
- π Realtime Flutter SDK Crash β Realtime...
**Summary** When using Appwrite Cloud with the Flutter SDK (latest appwrite release: 21.4.0), Realtime crashes with: ```Unhandled async error: type '_Map<String...