-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Error: AppwriteException: User (role: guests) missing scope (account)] #31
Comments
I also encountered with the same issue. |
@shiva00007 to suppress the log/error just catch(use catch block) the error in |
@UnschooledGamer still getting the same error |
Do you have an example so I can try help? |
are you exporting your account from appwrite.js? export const account = new Account(client) ? |
yes, I have dismissed the error still the time it takes to shift from signup screen to home screen to high. And while trying to sign-in with same credentials getting the error "Property 'setUser' doesn't exist" |
Hmmm 🤔 should there be a call for getting the account once create if (!newAccount) throw Error; const avatarUrl = avatars.getInitials(username); await signIn(email, password); const newUser = await databases.createDocument( return newUser; ==================== Like await account.get() and put that into a variable. |
When is this error happening? when you visit a page, when you fire a function like register or login etc? When you create that account const newAccount = await account.create( await login(email, password); i think this should come straight after i think new account should be success or failure here and then const avatarUrl = .... because you would have an account then kind of like this process const register = async (formData) => {
}; |
Okay 👍🏻 |
how to fix this whenever i try to signup the page this error occur
The text was updated successfully, but these errors were encountered: