
I have created new function in Appwrite cloud. In function I using below code to initialize Appwrite client
const client = new Client() .setEndpoint(config.APPWRITE_ENDPOINT) .setProject(config.APPWRITE_PROJECT_ID) .setKey(req.headers['x-appwrite-key']);
But I am can see error in Appwrite function execution logs: "Appwrite API key not configured".
I am executing this function from React project using below code: functions.createExecution();
Why dynamic API key is not working? Am I missing anything here?
Thanks
Recommended threads
- Trigger-Based Email Notification for Dat...
I'm developing a clinical website with an intake form. When users submit their information, it's automatically stored in Appwrite's database. I'd like to set ...
- Unable to create new documents (ID exist...
I get this error both from GUI and from API usage. No document is able to be created. I have no index for this collection. No relationship. Cloud. As you can s...
- Internal curl errors has occurred within...
Recently, I tried executing a function in my project. Got this error in failed requests randomly: ```Internal curl errors has occurred within the executor! Err...
