The user encountered an issue where the Mule 4 application failed to build and deploy when the 'path' attribute of the HTTP Requester connector was set to a multi-line DataWeave expression
%dw 2.0
output application.
The application succeeded when the 'path' attribute was converted to a single-line DataWeave expression.
%dw 2.0 output application/java
1. Convert the multi-line DataWeave expression in the 'path' attribute to a single inline expression enclosed within #[ ... ].
2. If the logic is complex, use a transformer to precompute the value in a multi-line DataWeave script, and reference the variable in the 'path' attribute.
3. For long-term improvement, consider upvoting the enhancement request in the Ideas Portal to address this limitation.
(https://ideas.salesforce.com/s/idea/a0BHp000019OrtCMAS/http-requester-path-fails-for-dataweave-expression-in-multiline-editor)
005384634

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.