
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
- Hi, can anyone give me some free credits...
Hi, can anyone give me some free credits to upgrade to pro for a few months?
- The current user is not authorized to pe...
Hello, I am attempting to receive fetch data from databases.listDocuments with each of its env parameter data for it to be shown on a NextJS project. However I ...
- Native Sign in with Google/Apple Flutter
Is native sign in with google / apple in Flutter possible with Appwrite?
