KuromoryOriginal post
Rank 2: Process
I dunno whats going on but... I get this exception only when I log in on windows... on Web I can login without a problem... here is the code:
Dart
var _ = await _account.createEmailPasswordSession( email: event.email, password: event.password, ); final user = await _account.get(); final teams = await _teams.list();Summary
Issue: Developer is encountering an AppwriteException error with message "general_unauthorized_scope" due to missing scope 'account' for user role 'guests' on Windows, while login works fine on web.
Solution: Make sure to assign the appropriate scope 'account' to the user role 'guests' in the code to resolve the unauthorized access issue.