AppwriteExpection: general_unauthorized_scope,User (role:guest) missing scope (account) (401)
- 0
- Android
- Flutter
- Accounts
- Cloud

Heys Guys, Over here I am trying to make an email verification process after the account is created but I'm getting this error-- AppwriteExpection: general_unauthorized_scope,User (role:guest) missing scope (account) (401) If I checked my console the user is created but not verified. I got this error when I tried to verify the email using the SDK account.createVerification.
appwrite SDK version:8.1.0 platform: flutter (android).
A quick help can save my confusion, cause I don't know what the problem is here. I have search other support questions which are similar but none matches my problem.

role:guest
This means you haven't logged in. create a session first

Also, you're passing incorrect params to createEmailSession()
. Look at the function signature

But shouldn't the email be verified first before login.

I was previously making use of the create function and it will create the user. When I couldn't verify the user email I thought to switch to this

Fix the incorrect params, and try again. Try to share the full login code to help you

no. it is perfectly fine for a user to log in without a verified email
Recommended threads
- Can't Login to Cloud Account
Dear <@870607367597850624> I used one of my Email account (hassanmrwt@gmail.com) for Cloud but that is not in my access now. System is prompting me to verify E...
- Function scheduling is not functional on...
Hello everyone! I'm using Appwrite Cloud and I have a function that runs every day at 00:00 UTC. Preciously it worked fine, but it didn't fire last night and i...
- CORS error only on tables db api After u...
I've recently updated my self hosted appwrite instance to the 1.8.0 and updated my frontend with the tables db apis but strangely, even if I'm able to log in, g...
