Please share how does your API call look like.
Perhaps try it in the postman or another tool like that.
It is typically the easiest way to troubleshoot
playing around some more, it looks like the problem may be Sophos anti virus (as well as not liking the .exe Windows runtime, it looks like it might be blocking headless chrome according to some other reports) ... sigh. Time to see if I can persuade out security folks to allow it somehow...!
d'oh ... on the subject of "..made a mistake" ... I'd created the asset with the helpers in, and referenced it as
{#asset common-handlers.js @encoding=utf8}
but ... I had a typo in the filename which was why it wasn't finding it. leaving this here so anyone else trying gets to search and learn from my stupidity ;)
is there a list of what is blocked/unavailable? https://github.com/kblok/puppeteer-sharp get's puppeteer working (so headless Chrome) but I'm guessing there's others
It may run there but you won't be able to make a pdf screenshot with headless chrome when running on windows based azure web app.