Whenever I request getSession() I am getting below always. Unable to understand what is happening. Will appreciate if someone can help.
Error fetching session: Error: app.66b0586b002b820a4e90@service.cloud.appwrite.io (role: applications) missing scope (account) at Client.call (/usr/local/server/src/function/node_modules/node-appwrite/lib/client.js:206:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Account.getSession (/usr/local/server/src/function/node_modules/node-appwrite/lib/services/account.js:947:16) at async checkSession (file:///usr/local/server/src/function/src/main.js:15:25) at async Module.default (file:///usr/local/server/src/function/src/main.js:85:22) at async execute (/usr/local/server/src/server.js:208:16) at async action (/usr/local/server/src/server.js:225:7) at async /usr/local/server/src/server.js:14:5
TypeError: res.status is not a function at Module.default (file:///usr/local/server/src/function/src/main.js:91:20) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async execute (/usr/local/server/src/server.js:208:16) at async action (/usr/local/server/src/server.js:225:7) at async /usr/local/server/src/server.js:14:5
#🚑│support
getSession() returning error
Recommended threads
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- Collections list not showing up when try...
I'm trying to create new relationship attribute but both one way and two way relationship is not showing up collections list to connect with my relationship att...