Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Merge PDF Power Automate

New Here ,
Jan 10, 2024 Jan 10, 2024

Hello all,

 

I am encountering an issue when using MergePDF Power Automate step. So far, I have followed https://blog.developer.adobe.com/merging-documents-using-microsoft-power-automate-69a68e46081b. 

 

Bishoy5E77_1-1704914599376.pngexpand image

 

 

 Below is The results of testing my flow with the error "

CORRUPT_DOCUMENT: The input file appears to be corrupted and cannot be processed

"

Screenshot 2024-01-10 at 2.18.51 PM.pngexpand image

 Here is also a snippet of the parameter input. I see that the files are sent as Base64 encoded. I decoded these and am able to view the PDFs which tell me they are valid documents. 

 

parameters":{"Files Array/outputFileName":"merged.pdf","Files Array/files":["[{\"$content-type\":\"application/octet-stream\",\"$content\":\"JVBERi0xLjcNJeLjz9MNCjc1IDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9GaXJzdCAxOTUvTGVuZ3RoIDQxOC9OIDI3L1R5cGUvT2JqU3RtPj5zdHJlYW0NCmjenFXbahsxEP2V8wcrjWZ0gZCHkvYlNATHb6EPbipCwekGY0P995nVbBJDssXqgziLdM7MaC5aCnCghJxAGcSE4EHFI+gXM0JAKLoYPJ0JOBeECNEVEiTrWUYMTmmIKYMdEkWwR0oqImQicFAHTk2g+AQWlBTAEd6pfU6K6oMzvFcKF8With08RYZ4+OAFQopxcg3PakZYMQouLobre72Cw+rHcLvZ1T/79a5WkExbJzs39e/+uh7hh9W4rd83z3rfRlkfn+twt98dHhpvNY77y0szmyfClJMGZBAM2EAMokEymHWlgeakgVlhs8JmRWbgOX5Q2xjuhqvx4fCkoZ+G93Vbn+bQNDuNnuyWj3jV3S4IKH7O//b78bCrSyKEPi9arz5B7KOnPnruo5c+uned/M6SeerkdxbLc2dx37s0zdT15ud2qXlYXunW7Kcu1l/GX8clnc0Slzc5f5CvlrQ2gJzftPJB....

 

1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Jan 10, 2024 Jan 10, 2024

It looks like you passed an array in Files Content -1, but it expects one file. 

Translate
Adobe Employee ,
Jan 10, 2024 Jan 10, 2024

It looks like you passed an array in Files Content -1, but it expects one file. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 10, 2024 Jan 10, 2024
LATEST

Thank you Raymond. When building this I was using the "New Designer" and missed the "Switch to input entire array" step

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources