<khaltech/>Original post
Rank 1: Thread
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
Summary
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.