we have big problems with the functions. although we do not change anything in the function, we have the following random behaviour:
- no scope permissions error, although they are set. sometimes the execution works, sometimes not
- random cold boot timeout
the function is in deno2.0
the function only creates a message for a welcome email. that's frustrating that new users don't get one
we have had 3 new users earlier, 2 have not received an email one has
since cloud update to 1.7 the functions are totally unstable
Massage? π
Hmm the cold start could be due to some appwrite issue, but I think the missing scope one not. What the function code? Make sure to censor the API keys if you included them in the code
The scope is configured in the settings, and most of the time it works; however, we occasionally get a βNo scopeβ error.
const client = new Client() .setEndpoint(Deno.env.get("APPWRITE_FUNCTION_API_ENDPOINT") ?? "") .setProject(Deno.env.get("APPWRITE_FUNCTION_PROJECT_ID") ?? "") .setKey(req.headers["x-appwrite-key"] ?? "");
What's the full code?
Recommended threads
- Appwrite Cloud project is paused and nev...
Hi Appwrite Team & Community, I am facing a problem with one of my Appwrite Cloud projects which seems to be identical to the other cases of "paused projects" ...
- Timed out waiting for runtime error
execution id 6a3e0791978712d81ee0 im having issue with appwrite function runtime performance. even after 4gbram and cpu same function sometimes completes in a...
- Project auto-blocked after load testing ...
Hi team π My project has been automatically blocked with the message: "Project is currently blocked β Access to this project is restricted. Contact support if...