Highlighted

Download combinedDocument comes back password protected

New Here ,
Sep 12, 2020

Copy link to clipboard

Copied

After doing a call to the combinedDocument API

(/api/rest/v6/agreements/{agreementId}/combinedDocument)

the return is a binary stream of the PDF file.  So, I save this to a blob and download it.

But, when accessing the file from my hard drive it says:

"This file is password protected.  To access it, please enter the password."

 

However, the file wasn't password protected to begin with, so I do not know the password.

How do I access or how do I save the file without this password?

NOTE:  I need to pass this blob to another function, so I can't go the url route as it comes back with a CORS error when attempting to turn it into a blob.

Any help would be most appreciated.

Topics

SDK

Views

30

Likes

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

Download combinedDocument comes back password protected

New Here ,
Sep 12, 2020

Copy link to clipboard

Copied

After doing a call to the combinedDocument API

(/api/rest/v6/agreements/{agreementId}/combinedDocument)

the return is a binary stream of the PDF file.  So, I save this to a blob and download it.

But, when accessing the file from my hard drive it says:

"This file is password protected.  To access it, please enter the password."

 

However, the file wasn't password protected to begin with, so I do not know the password.

How do I access or how do I save the file without this password?

NOTE:  I need to pass this blob to another function, so I can't go the url route as it comes back with a CORS error when attempting to turn it into a blob.

Any help would be most appreciated.

Topics

SDK

Views

31

Likes

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

Have something to add?

Join the conversation