Back

User (role: guests) missing scope (account)

  • 0
  • Web
  • Cloud
azwar
9 May, 2024, 04:04

Hi guys, currently facing issue on get current session using get account sdk.

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

This error happen when i call it from next js components.

It working well when i call it from page

May i know why this happen?

TL;DR
Developers are encountering an error of "User (role: guests) missing scope (account)" when calling the session for navigation component in a Next.js application. The error occurs specifically when calling from components instead of pages. The issue likely arises from missing scope permissions for users with the 'guest' role. Double-check and adjust the scope permissions accordingly to resolve the error.
azwar
9 May, 2024, 04:06

i use to call session for navigation component

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