Could not find user session: app.<project_id>@service.cloud.appwrite.io (role: applications)
- 0
- Auth
- Web
- Functions
Hello,
Error : Could not find user session: app.66e034f7001f1afeb163@service.cloud.appwrite.io (role: applications) missing scope (account)
I have this error when i'm trying to check if i'm logged.
I have 2 functions : one to create my session and another to check if my user is logged.
I already tried to change roles in my appwrite.json and my session is created.
If someone has some tips or whatever, i'm free to speak about it.
Thanks.
Do you can send the code that is throwing this error?
You are using an API key here
Do not pass an API key in this case when you want to check an users session
Recommended threads
- TablesDB can't be used in Appwrite Funct...
I have written a function (DART) and it won't deploy. Here is what I get : 2026-03-14T17:09:41.459693680Z Compiling ... 2026-03-14T17:09:42.915619217Z ../build...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...