question

anasskartit avatar image
0 Votes"
anasskartit asked MayankBargali-MSFT edited

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

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
image.png (18.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered MayankBargali-MSFT edited

@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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.