
I am trying to get current User, but get this error message when I do. I get back user prefs, but error comes from trying account.get() So I am getting User. I am not sure what variable is not set. I looked into User object, It can be status, emailVerification, phoneVerification, mfa, totp. There is no other bool it is expecting.
Client client = Client();
client
.setEndpoint(DBConstants.localhostAccessPoint)
.setProject(DBConstants.localhostProjectID)
.setSelfSigned(status: true);
Account account = Account(client);
Preferences prefs = await account.getPrefs();
print('prefs: ${prefs.data}');
User user = await account.get();
Recommended threads
- User (role: guests) missing scopes (["te...
I keep getting this error: ```AppwriteException: User (role: guests) missing scopes (["teams.read"]) at new AppwriteException (/usr/local/server/src/functio...
- Queries Length Error.
Hi All, I am having a issues across my app with how i am getting data, and just wanted to check if this was an issues with the new changes on appwrite over the...
- Explore uploaded images directly from lo...
Is there any option to explore/dwonload uploaded files to from local machine? I connected through WinScp to my vps and to files from docker volume 'appwrite_app...
