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
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?