Created get function for website.
worked perfectly for the first few minutes.
Made absolutely no changes. Now I keep getting a 500 error.
Can someone help on this?
Console log shows below:
"root":{
"insertId":"..........46RtqH.LtApPgvRpR8sZh9"
"timestamp":"2022-04-28T19:04:54.246Z"
"labels":{"siteUrl":"https://beatkitchen.io/_functions/fetchrecordsCoreSkillstoWix/coreSkills_01"
"revision":"1246"
"namespace":"Velo"
"tenantId":"97daf652-1ec4-4bcd-a684-47dbfbe4da94"
"viewMode":"Site"
}
"operation":{"id":"1651172694.13337916804314993"
"producer":"backend"
}
"jsonPayload":{"message":"["Error loading web module backend/http-functions.js: \n \u001b[31mx\u001b[0m Unterminated regexp literal\n ,-[\u001b[36;1;4m/user-code/backend/http-functions.js\u001b[0m:63:13]\n \u001b[2m63\u001b[0m | \"courseCode\": body.courseCode*/\n : \u001b[31;1m ^\u001b[0m\n `----\n\n\nCaused by:\n 0: failed to process input file\n 1: Syntax Error"]"
}
"severity":"ERROR"
"receiveTimestamp":"2022-04-28T19:04:54.357Z"
}