Skip to content
Back

Error

  • 0
  • Functions
  • Cloud
<khaltech/>
3 Jul, 2025, 08:55

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: &#x61;&#x70;&#112;&#x2e;&#54;&#x38;&#x35;&#x39;&#x66;&#48;&#48;&#57;&#48;&#x30;&#48;&#101;&#57;&#x64;&#x63;&#56;&#52;&#53;&#97;&#x34;&#64;&#115;&#101;&#x72;&#x76;&#105;&#99;&#101;&#46;&#99;&#x6c;&#x6f;&#x75;&#x64;&#x2e;&#97;&#x70;&#112;&#x77;&#x72;&#105;&#x74;&#x65;&#x2e;&#105;&#111; (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

TL;DR
Error message: Developer is attempting to retrieve sellerId using account.get() in appwrite function, encountering a scope missing error. The code they are running is 'const seller = await account.get(sellerId);'.Screenshot of appwrite console provided.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more