Hello,
I’ve tried to use the convert to pdf module from PDF.co but I keep getting the error code [448] Invalid URL or HTML.
My input is as follows :
[
{
“name”: “Devis D-20241071”,
“async”: false,
“export”: {
“exportType”: “downloadFile”
},
“convert”: {
“url”: “link to pdf url”,
“convertType”: “fromWebsite”
},
“expiration”: 60,
“printBackground”: false,
“doNotWaitFullLoad”: false
}
]
My output is :
[
null
]
More info : The file is not that large, that’s a one-page text document. I’ve tried Async execution mode and it still doesn’t work.
Can I get some help with that please ?
Your URL seems suspicious. When I click on it, I get a different URL. I suspect this switch in URL name is the problem. I’m not sure how to fix it though. One possible way is to click on the URL you have there
in your browser and try to change it to the real destination to see if it works.
L
P.S. If we’re not supposed to see the invoice that you’re working with, I recommend you delete the URL in your original post.
1 Like
Yes that was the issue I think. I solved it by placing a Get a file module from HTTP. This module can output the pdf’s data despite the switch of url ! basically I didn’t need PDF.co to run this scenario.
3 Likes