No startup script downloaded during Azure AppService configuration

While following the steps mentioned in the bellow link, it has been observed that wget command could not download proper startup script.
Any idea, how to fix this issue?

Command executed but failed to get valid script file.

wget -O /tmp/installer.sh -q “$DT_ENDPOINT/api/v1/deployment/installer/agent/unix/paas-sh/latest?Api-Token=$DT_API_TOKEN&flavor=$DT_FLAVOR&include=$DT_INCLUDE” && sh /tmp/installer.sh && LD_PRELOAD=“/opt/dynatrace/oneagent/agent/lib64/liboneagentproc.so” $START_APP_CMD

Documentation link followed::

Hi @sasankas,

have you set the parameters on the script, if yes, could you please provide us with the full exception? most likely this is related to the added parameters.