Back

General Unauthorized Scope - Missing Scope (401)

  • 0
  • General
  • Flutter
  • Auth
  • Cloud
Tjpin
19 Sep, 2024, 15:18

This got answered in another post that i'm calling account api methods which are not compatible. I'm using flutter/ dart SDK to get current logged in user by calling account.get() or calling final user = users.get(userId: session.userId); but this doesn't work. I have all scopes enabled.

TL;DR
Developers facing 401 error due to incompatible account API methods in Flutter/Dart SDK. The `account.get()` and `users.get(userId: session.userId)` calls are not working despite having all scopes enabled.
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