Skip to main content
Question

Power Automate "Add documents to an envelope" action returns "The input is not a valid Base-64 string"

  • July 9, 2026
  • 1 reply
  • 50 views

Forum|alt.badge.img

Hello.

When using the "Add documents to an envelope" action, I get the error message “Flow run failed. Action 'Add_documents_to_an_envelope' failed: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.”

I get this with both docx and pdf documents. 

Wrapping the ContentBytes in the base64 function did not resolve the problem. 
The Inputs and Outputs of the action are attached.

Has anyone had the problem and knows how to fix it?

Many thanks

*** attachment removed due to sensitive information

1 reply

Forum|alt.badge.img+6
  • Docusign Employee
  • July 10, 2026

Hi ​@uclgp 

I don't know where or how you converted the doc to base64, but when I try to convert the base64 back to a PDF or a file in Base64.Guru site, it returns an error. There's certainly something wrong with the doc/base64.

And please do not share accounts, logs, and docs here, as it is an open channel.

Best regards,