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

Merge PDF Power Automate

New Here ,
Jan 10, 2024 Jan 10, 2024

Copy link to clipboard

Copied

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.png

 

 

 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.png

 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....

 

Views

216

Translate

Translate

Report

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. 

Votes

Translate

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

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