@langtoi
The developer is aware of this problem.
While this problem remains relevant, you can replace the double quote with a single quote before parsing the string, and then perform the reverse replacement. All this can be done using the "Replace string" action.
SyntaxError: Parse error during execution of action 222266208
-
Hello,
I have one function "scraper" that scrapes data from website. and in that function there is another function "send to api" which is called to send that scraped data to api. But when I call 1st function "scraper" in
Call function in several threadsi receive error Thread #1 : SyntaxError: Parse error during execution of action 222266208Can someone please guide me ?
-
@pushkraj said in SyntaxError: Parse error during execution of action 222266208:
Hello,
I have one function "scraper" that scrapes data from website. and in that function there is another function "send to api" which is called to send that scraped data to api. But when I call 1st function "scraper" in
Call function in several threadsi receive error Thread #1 : SyntaxError: Parse error during execution of action 222266208Can someone please guide me ?
Most likely you use curly braces in a string in actions with the
expressiondata type or in the "Execute code" action -
@Fox Thank you for replying.
I only have one "Execute code" action
Here is its contents.
// Sample HTML content var htmlContent = [[SAVED_XML]]; // Regular expression pattern to extract email addresses var emailPattern = /[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g; // Extract email addresses from HTML content var emails = htmlContent.match(emailPattern); // Map emails var data = emails.map(function(email) { return " /n " + email + " /n "; }); // Output the resulting email addresses // log(data); [[EMAILS]] = data;