web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Docusign - PDF Validation Failed. Base64

(0) ShareShare
ReportReport
Posted on by 6

I have a flow which is triggered when a new email is received.

If an email has a PDF as an attachment, I want to put the attachment in a Docusign envelope and send it on for signing.

 

I'm having issues with adding the PDF to an envelope.  At first I was getting base64 conversion errors, then I found a post which said to use base64() and enter the file content, like this: base64(body('Get_Attachment_(V2)')?['contentBytes']).

 

This appeared to work, or at least it moved me on to a different error.

 

What I've now realised though is that there is still an issue with adding a PDF but it isn't throwing an error at that point.  It's only when I get to the 'Send Envelope' step in my flow that I see an error because my envelope is incomplete.  Much searching back through the steps led me to the fact that the 'Add documents to an envelope' step is throwing a "PDF validation failed" error but not notifying me.

 

What is the "best" way to add a PDF to an envelope?

 

I'm adding PDF which come in to the company from suppliers, they therefore differ in format and content.  I've tried adding tabs using offsets as I don't have a consistent text or similar anchor to align them to.  I can't get to the point of checking the tabs work as I don't seem to be able to import a file to add them to. 

 

Any help or advice would be very much appreciated.

 

 
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 647 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 350 Moderator

#3
developerAJ Profile Picture

developerAJ 256

Last 30 days Overall leaderboard