mcjo3324Original post
Web Developer
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.
Summary
Issue: Developer is receiving an error "Could not find user session" when trying to check for user login status. The error is caused by passing an API key instead of proper user session credentials.
Solution: Do not pass an API key when checking user session. Ensure proper user session credentials are used for authentication.