
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
- Invalid Origin Error โ Need Help Registe...
Subject: Invalid Origin Error โ Need Help Registering Platform Hi Appwrite Support <:appwrite:1156975611466764298> , I'm encountering an issue when trying to ...
- Database Double Requesting Error.
I am getting error for creating new document in an collection with new ID.unique() then too getting error of existing document. When button is pressed one docum...
- Appwrite functions can't connect to data...
I'm trying to create a function that queries my database, but all database operations timeout from within the function, even though CLI access works perfectly. ...
