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
- Rate lĂmit reset
I've made an error in the code by not setting a limit on how much rows should i get per request because i was working with a small db for testing. Last night Iv...
- How to set permissions using the createO...
Hi, I'm trying to create a set of registers in a table using the tableDB.createOperations function, but it seems like it doesnt support/expect the usage of the ...
- Fulltext index creation fails due to Inn...
I'm running a self-hosted Appwrite 1.8.1 instance and encountering an issue when creating fulltext indexes on a collection. **The Problem:** Fulltext index cre...