Avatar

Community Advisor

Hi jferreira,

Please may you achieve the same again but with try catch instructions, and share the detailed errors (web.log, ctx in debug mode, etc).

There could be many issues:

  • urlPermission not defined in serverConf (because in your use case, the pdf is not located on Adobe Campaign server but another server)
  • CORS (allow origin) for https link in some case (such as iframe encapsulation, etc)
  • timeout if any firewall is blocking
  • other reasons

You can also use the alternative simple way getUrl() function, but it won't resolve your issue if it is a network issue or security issue...

http://docs.campaign.adobe.com/doc/AC/en/jsapi/f-getUrl.html?hl=geturl

One more thing, if you have access to curl, please run it to check if the access is right.
Or if you have access to system exec command, do the wget equivalent:
http://docs.campaign.adobe.com/doc/AC/en/jsapi/f-execCommand.html?hl=wget

Regards
J-Serge