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
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Local Serverless Function Testing: Are D...
I have followed the instructions to get the CLI working, and have been able to log-in, initialize my project, and created a simple Python function, which calls ...