JavaScript with SQL on an Adobe Campaign SL (in a delivery)
Hi, I need your help.
I am trying to run an SQL statement using Javascript in the SL section of a delivery.
The code runs fine when doing a Preview, but then breaks when Proofing.
These are the errors I get when trying to send the Proof:


These are the errors I see when visiting the proof details:


This is the JS code I use in the SL, you can see from the screenshot that the preview works and pulls data from the SQL statement.

Does this mean that I cannot use SQL in the Javascript on my Subject Line or body content?

