I'm trying to get sellerId using account.get() in my appwrite function and this is the error message I'm getting:
"Failed to send notification to seller 6865bfd200091084268a: app.6859f009000e9dc845a4@service.cloud.appwrite.io (role: applications) missing scope (account) "
this is the code I try to run the function :
const seller = await account.get(sellerId);
the screenshot of m appwrite console is attached. Thank you @Kenny @Aditya Oberai @Steven
Instead of account.get use users.get
https://appwrite.io/docs/references/cloud/server-nodejs/users#get
Recommended threads
- router_deployment_not_found
I updated my function a few times and now i am getting the error: router_deployment_not_found I even reverted back to my original code but i am still getting th...
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- One-time Cloud migration blocked by data...
Hi, I’m blocked on a one-time migration from Appwrite Cloud to my self-hosted Appwrite instance. We already fixed the region issue, and the migration now corre...