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
- Confused about the pricing. Can I get so...
I 'm really confused about the pricing here. I've got the pro plan and i have 4 projects open. As you can see, I'm nowhere near my usage limits with these proje...
- Request for JWKS Endpoint and OIDC Disco...
Hey Appwrite Team, Do you have plans to support JWKS and a well-known OIDC discovery endpoint? This would let us verify Appwrite JWTs in other services using st...
- Cloud 500 error