I have a same problem in appwrite 0.14.x AppwriteException: general_unauthorized_scope Do i Need to create new report ? It was working on 0.13 also it was working on 0.15 too but not working in 0.14.x
login(String email, String password) async { try { final result = await account.createSession( email: email.trim(), password: password.trim()); print('result.userId'); print(result.toMap()); // _user = await getAccount(); models.User res = await account.get(); _user = UserModel.User.fromJson(res.toMap()); _isLoggedIn = true; if (_user != null) { await _fetchKYCDocument(); await checkAndUpdateLanguagePreference(); await getAccountSessions(); await _getUserAccount(); } // _mixpanel.identify( // _user!.id); // track users in mixpanel based on appwrite user id notifyListeners(); } on AppwriteException catch (e) { print('error in login'); print(e); if (e.code == 400 || e.code == 401) { _isUserError = true; } else { _isUserError = false; } } }
FYI, it's best to wrap code in backticks to format a bit nicer. You can use 1 backtick for inline code (https://www.markdownguide.org/basic-syntax/#code) and 3 backticks for multiline code (https://www.markdownguide.org/extended-syntax/#syntax-highlighting.
Anything else to the error message?
Nothing
Docker logs also not helpful
Recommended threads
- [SOLVED] Error upgrading from 1.8.1 to 1...
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...