Back

[SOLVED] Server SDK - (role: applications) missing scope (home)

  • 0
  • Self Hosted
pietrodc0
5 Mar, 2023, 13:51

Hello there, I'm trying to list user's session via (dotnet) server SDK but when calling /users/{userId}/sessions I receive errore due to (role: applications) missing scope (home)

The API token has complete access to auth scope.

Any idea?

TL;DR
The user is experiencing an error with the server SDK when trying to list user sessions in their application. The error message states that the role 'applications' is missing the scope 'home'. They have confirmed that the API token has the necessary access rights. The user is looking for suggestions on how to solve this issue.
Meldiron
5 Mar, 2023, 13:59

Hey there 👋 Can you share your source code please? Section that makes request to API should be enough

Meldiron
5 Mar, 2023, 14:00

my wild guess would be that /v1 is missing in the endpoint

pietrodc0
5 Mar, 2023, 14:02

damn, you're right! test by test I deleted /v1 by mistake!

pietrodc0
5 Mar, 2023, 14:03

[SOLVED] Server SDK - (role: applications) missing scope (home)

pietrodc0
5 Mar, 2023, 14:03

thanks, I was going crazy!

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