I have a Sharepoint folder with several PDF files within. I would like to collect the file content from each of those files, create an array variable with the merged file content, and then pass that variable into the Adobe Merge PDFs array input.
I have tried appending the file content in several ways but keep running into an error where 'the input file appears to be corrupted'.
Here is the flow:
And here is the error I get on the Merge PDFs step:
"message": "For application/pdf mime-type The input file appears to be corrupted and cannot be processed.; transactionId=VQTDOIyZ0GELGsBTn906mdWut90RjQ9z-PowerAutomate"
I am able to successfully merge these files when I individually retrieve the file contents and use the detail inputs instead of array inputs.
Below is the beginning of one of the inputs. I believe the issue is in the bolded text, but I don't know how to append file content to my array variable without it as it has to be a valid JSON. I've attached the entire inputs for both a successful run (using detail input) and failure (using array input) for reference. It looks to me like that bolded part is the only difference.