Skip to content
Back

general_unauthorized_scope

  • 0
  • Web
shazzsamed
17 Jan, 2026, 16:59

localhost oauth not working. general_unauthorized_scope error showing.

{ "message": "User (role: guests) missing scopes ([account])", "code": 401, "type": "general_unauthorized_scope", "version": "1.8.1" } followed th eoauth flow exatcly. Why this error. Documentation for stuff like these are very bad

TL;DR
Developers experiencing an issue with localhost OAuth setup, getting 'general_unauthorized_scope' error due to missing 'account' scope for a user with role 'guests'. Follow the OAuth flow accurately, ensure required scopes are granted, and consider seeking clarification from documentation/tutorials for further assistance.
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