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
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...