I have a cloud function called onWaitlist which listens for changes on a database collection but each execution fails with the following error.
TypeScript
Internal curl error has occurred within the executor! Error Number: 52\\nError Code: 500
The function directory contains an index.js file which exports a default function.
TypeScript
export default async ({req, res, log}) => {
log("executing", req.bodyJson)
const {$id} = req.bodyJson;
//...
But nothing is logged and the function always fails. Any ideas why?
TL;DR
Cloud function 'onWaitlist' fails with 500 error due to internal curl error. The index.js function is not logging anything and always fails. Possible solution: Check for any potential CORS issues or firewall restrictions, ensure proper configuration of the cloud function environment variables.Recommended threads
- User Blocked - False Positive
Today I tried to log in to my cloud console and it said the user is blocked and I didn't even receive any email regarding this like what kind of violation is my...
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- Appwrite console is too heavy
The Appwrite console is too heavy And all of my services broken Any support , please