Skip to content
Back

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

  • 4
  • Users
  • Accounts
  • Web
Anshuman Goswami
7 Dec, 2023, 01:33

following are the 2 recording of working deployed applications using OAuth. I did tried all the methods explained in <#1181893097324556289> But eventually these methods didn't worked ๐Ÿ™‚. Both the applications are in working conditions and are deployed, one of them is posted on builtwith.appwrite.io and 2nd one with google authentication is submitted there for review.

The methods explained in the attached post may work for some peoples with projects under development but my problem is with projects which are already in working conditions which are too giving response for undefined users.๐Ÿ™‚

here are the links for projects: glitch.zone, noteinfi.vercel.app

TL;DR
User is experiencing a 401 error with the message "User (role: guests) missing scope (account)". They have tried various methods to resolve the issue, but none have worked. The user suspects it may be a problem with OAuth signin. The error occurred suddenly without any recent changes to the code.
tushar
7 Dec, 2023, 01:54

My code was working fine 2 days back and when I returned to it yesterday I saw this

Anshuman Goswami
7 Dec, 2023, 01:55

Yes๐Ÿ™‚

Drake
7 Dec, 2023, 08:28

Can you check the network request logs?

raj.js
7 Dec, 2023, 16:41

Same is for me, it only problem with OAuth (i my case its google signin), normal username password signin is working but Oauth signin is throwing this error. It was working properly and we have not pushed anything to production for like 2 weeks. Can you please help on this, its becoming an issue for our end users.

{message: "User (role: guests) missing scope (account)", code: 401, type: "general_unauthorized_scope",โ€ฆ} code : 401 message : "User (role: guests) missing scope (account)" type : "general_unauthorized_scope" version : "0.11.43"

SimbaNPC
7 Dec, 2023, 16:51

running into this problem as well

D5
7 Dec, 2023, 17:10
D5
7 Dec, 2023, 17:11

Also, could anyone share their network request logs?

SimbaNPC
7 Dec, 2023, 17:14

yes i tried that

SimbaNPC
7 Dec, 2023, 17:18

ok will just wait for rollback<:appwritefire:823999000330895380>

Drake
7 Dec, 2023, 17:28

How is it now?

SimbaNPC
7 Dec, 2023, 17:30

working now๐Ÿซก

SimbaNPC
7 Dec, 2023, 17:32

appreciate you, hopefully the bug is a little one to fix

Drake
7 Dec, 2023, 17:33

It's with a 3rd party so it will be difficult to get fixed ๐Ÿ˜ญ

SimbaNPC
7 Dec, 2023, 17:34

GGs. haha good luck ser

raj.js
7 Dec, 2023, 17:46

Hi, now issue seems to be resolved all of a sudden. Thanks a lot for quick resolve.๐Ÿซก @Steven @D5

Anshuman Goswami
7 Dec, 2023, 18:03

Hey, it's resolved now my project is working in all devices๐Ÿฅณ. What was the problem by the way is there anything happened at backend ? ๐Ÿ‘€

Anshuman Goswami
7 Dec, 2023, 18:04

got it.๐Ÿ˜„

Anshuman Goswami
7 Dec, 2023, 18:04

so should I mark this post as solved now?๐Ÿค”

Anshuman Goswami
7 Dec, 2023, 18:05

+1

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