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

transientDocuments with base64 pdf input

New Here ,
Dec 15, 2020 Dec 15, 2020

Copy link to clipboard

Copied

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 

TOPICS
Adobe Sign forms , How to sign , Manage documents , Send documents

Views

2.2K

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
Community Beginner ,
Mar 18, 2021 Mar 18, 2021

Copy link to clipboard

Copied

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.

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 ,
Mar 18, 2021 Mar 18, 2021

Copy link to clipboard

Copied

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

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
Community Beginner ,
Mar 19, 2021 Mar 19, 2021

Copy link to clipboard

Copied

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. 

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 ,
Jun 07, 2021 Jun 07, 2021

Copy link to clipboard

Copied

Hi Swaps. 

I also am working with SAP ABAP and I have the same issue you had before but when I set the additionally header field  'Content-Transfer-Encoding' as 'base64', the error remains.

The steps I follow are:

- I generate PDF from a smartform and via function CONVERT_OTF_2_PDF

- Then I call SCMS_BINARY_TO_XSTRING 

- Afterthat I call SCMS_BASE64_ENCODE_STR 

I would appreciate your help!

Thanks!.

Juan

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
Community Beginner ,
Aug 18, 2023 Aug 18, 2023

Copy link to clipboard

Copied

LATEST

Your uploading a pdf file or sending pdf file in conveted to stream format?

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