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
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support š I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...
- Bug: TOTP MFA verification always fails ...
*Bug: TOTP MFA verify always returns `user_invalid_token` (Cloud 1.8.1, Frankfurt)** Project ID: `68dd48440003e537d849` SDK: `appwrite@18.2.0` (also tested wit...
- SSL Certificate Issuance Failed
When we first deployed our site using appwrite and a custom domain everything was working, but it seems like the SSL certificate never got renewed. I tried dele...