Back

AppwriteException: User (role: guests) missing scope (account)

  • 0
  • Web
  • Cloud
Utkarsh Nagar | Utkarshn10
10 Dec, 2023, 13:06

After setting the custom domain. The domain is leading me to appwrite login. this is what Appwrite gave me: (the image ss)

domain: www.sideprojectss.com

TL;DR
The user is experiencing an error where the User (role: guests) is missing scope (account). They are trying to add a custom domain (appwrite.sideprojectss.com) but are unable to login on the Brave browser. It seems that the user has not added a DNS record for the domain and the verification is failing on Appwrite's side. There is a suggestion to check if the custom endpoint needs to be appwrite.www.sideprojectss.com. The issue is not resolved in the thread. Solution: 1. Add a DNS record for the custom domain. 2. Check if the custom endpoint needs to be appwrite.www
Drake
10 Dec, 2023, 18:15

This doesn't seem right...if your app is running on www.sideprojectss.com, the custom endpoint needs to be appwrite.www.sideprojectss.com

Meli
10 Dec, 2023, 20:26

I'm getting the same error but with Google OAuth, did you solve this? @Utkarsh Nagar | Utkarshn10

Utkarsh Nagar | Utkarshn10
11 Dec, 2023, 03:17

No, not till now

Utkarsh Nagar | Utkarshn10
11 Dec, 2023, 03:17

Tried adding this name to DNS provider but verification is failing for this on appwrite's side

Drake
11 Dec, 2023, 03:42

Any additional error logs?

Utkarsh Nagar | Utkarshn10
11 Dec, 2023, 16:20

No, its just showing this

D5
11 Dec, 2023, 18:19

Do you have added a CNAME record in your DNS?

D5
11 Dec, 2023, 18:20

And are you sure you want to have appwrite in www subdomain?

Drake
11 Dec, 2023, 22:42

what's the domain you're trying to create? www.sideprojectss.com? isn't that your app?

Drake
11 Dec, 2023, 22:42

Anyways, I don't see a DNS record for that domain

Utkarsh Nagar | Utkarshn10
12 Dec, 2023, 03:24

Yes I have added it

Utkarsh Nagar | Utkarshn10
12 Dec, 2023, 03:24

Its sideprojectss.com and I have added appwrite.sideprojectss.com as a subdomain there..

Drake
12 Dec, 2023, 03:24

So what's on the custom domains page?

Utkarsh Nagar | Utkarshn10
13 Dec, 2023, 08:24

it loads the appwrite login page. Even after adding the custom domain. I am unable to login on brave browser. Why is it so?

Error: AppwriteException: User (role: guests) missing scope (account)

Drake
13 Dec, 2023, 23:38

What happens when you try to log in?

Drake
13 Dec, 2023, 23:38

Do you have a reverse proxy in front of Appwrite?

fafa
14 Dec, 2023, 22:38

Something here I think is going completely sideways.. @Utkarsh Nagar | Utkarshn10 Are you using Self-Hosted or Cloud?

If Self-Hosted, wiy does it say cloud.appwrite.io? If Cloud, why is Steven talking about reverse proxy and appwrite.sideprojectss.com?

ideclon
14 Dec, 2023, 22:52

Custom Domains

ideclon
14 Dec, 2023, 22:54

And you’ve added appwrite.sideprojectss.com as a Custom Domain in Appwrite?

fafa
14 Dec, 2023, 23:07

That answers neither question. Custom domains is a feature.

ideclon
14 Dec, 2023, 23:09

Yes, it’s a feature. Which does what?

Drake
14 Dec, 2023, 23:55

nvm. given the screnshot, this must be cloud

Drake
14 Dec, 2023, 23:58

your endpoint is https://cloud.appwrite.io/v1 Would you please change it to your custom domain: https://appwrite.sideprojectss.com/v1?

Drake
14 Dec, 2023, 23:58

and are you using your custom domain for the redirect in github?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more