Skip to main content
Participant
December 16, 2020
Question

transientDocuments with base64 pdf input

  • December 16, 2020
  • 1 reply
  • 2839 views

Hi ,

 

I am trying to post pdf document from base64 input in groovy scripting .  i could not achive this either i get a blank documnent or a document with base64 string as content  or error in upload  or bad request . I tried multiple ways need some help when we deal with base64 string how the payload should look like to post call . Any help or suggestion would be a great help . 

 

https://api.eu1.adobesign.com/api/rest/v6/transientDocuments

 

 

Regards

Vijay 

This topic has been closed for replies.

1 reply

Participating Frequently
March 18, 2021

Hi Vijay,

Did you resolve this ? We have a similar requirement to send base64 encoded PDF to create the transient document.But when I sent base64 to the POST transientdocument API, it always returns a document upload error in AdobeSign.

 

Thanks

Swapna.

March 19, 2021

hi swapa ,

 

Yes we could able to resolve the issue by refereing to this git repo.

https://github.com/adobe-sign/rest-api-sample/tree/master/v6/adobesign/api/rest/sample/util

 

Let ne know if this helps .

 

Regards

Vijay

Participating Frequently
March 19, 2021

Hi Vijay,

Thanks. I was working on SAP ABAP.

I was setting the base64 encoded string as the multi-part body but I had to additionally set the header 'Content-Transfer-Encoding' as 'base64' at the multipart similar to how I was setting the Content Disposition. This seems to be now working.

 

Appreciate the help!

 

Thanks

Swaps.