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
- [Regression] Appwrite 25.1.0 returns Inv...
I've already opened an issue on GitHub, but somewhat it doesn't seem like GitHub is monitored very closely, so I'm leaving a bug report here on Discord as well....
- Helping in unblock my account
I deleted my Appwrite Cloud account that was linked via GitHub. Now I activated my GitHub Student Pack and want to sign up again using the same GitHub account, ...
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...