LogicApp using ExecuteJavaScript Code connector error The template validation failed: 'Invalid URI: The hostname could not be parsed.'.

50919555 1 Reputation point
2021-03-23T15:05:06.033+00:00

I am receiving error when I added ExecuteJavaScript Code default code

var text = "Hello world from " + workflowContext.workflow.name;

return text;

The template validation failed: 'Invalid URI: The hostname could not be parsed.'.

80736-image.png

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,824 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 67,991 Reputation points
    2021-03-24T07:48:24.393+00:00

    @anasskartit I have tested the scenario at my end and couldn't observe the same issue in both logic app and logic app (preview). If someone is facing the same issue please share the error screenshot of the error along with your workflow so we can further test the scenario at our end and share our findings. Please also confirm whether the error is observed from the "Execute Javascript Code 2" action or some other action.

    0 comments No comments