I am creating an Appwrite Function and it is supposed to create some documents in the database. I am facing permissions issues when creating the document. "{"message":"An error occured","error":"User (role: guests) missing scope (users.read)"}" Something I understand that I need to authorize the request. However I am unable to figure out how to do this and need some help.
Here is my implementation functions .createExecution("<functionId>", JSON.stringify(payload)) .then((response) => { console.log('func success: \n', response); }) .catch((error) => { console.log('func failed: \n', error); });
Is that the full code? That error usually indicates that you're not signed in
Recommended threads
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...