Hi. So I have been trying to merge 2 pdfs that create in google drive (in the same scenario)
What happens is one document is uploaded as a pdf, another pdf is generated then I want to put the 2 together. I have tried pdf co and ilovepdf and I am getting the same results. When I send the data through, it says there is an issue with the data. When I send a link through, the same thing.
Here is an attempt just trying to get one file onto the module.
From the screenshot I donât see anything wrong (Iâm not an expert in Ilovepdf though)
We need to know if the generated PDF is a valid PDF file. I suggest you replace the ilovepdf module with a module that outputs the PDF in a way that you can verify/validate it. For instance you can email the PDF to you, or save the file in dropbox/googledrive.
Yeah @Loopz I downloaded both the files that had loaded onto google drive and merged them on ilovepdf manually and it worked. I think its an error in the metadata coming through from google drive or how the module interprets it
Plus the original screenshot has filename as PNG which might have caused the issue in that run, but for the others, try implementing the other answers provided here.