
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
- Google Oauth not working on Windows
I am building a cross-platform app that requires Google sign in. So far it works on Android, iOS and Mac, but on Windows, I keep getting this error ``` Unexpec...
- Teams Invite issue
We are getting this error ```AppwriteException: general_unknown, Server Error (500)``` when trying run the createPhoneToken after receiving a Teams invite email...
- Sam AWS CLI x Appwrite
Hello, I have a problem with my functions from Appwrite. Currently, we use AWS SAM CLI to simulate an API Gateway with Lambdas, where the client is initiated...
