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
- user_oauth2_unauthorized
I receive this errors when i try to login using Github ``` { "message": "Bad credentials: No description", "code": 401, "type": "user_oauth2_unauthorized...
- Appwrite nonsense CORS error
i get this image when i access the link that prompts the cors error
- Connection reset by peer (0) error
My code worked fine yesterday, didn’t touch anything and now tried to login in the app I’m working on and just keep getting this error : Exception: Error initi...