AlfonsoEscobar | Posts: 2

Downloading Documents Zip file API not working

0 votes

Hello,

I have been trying to test the Download Documents zip REST API and it's not working. I've tried through the sandbox and also via postman but I keep getting the following error:

 

{"message":"Not Acceptable","code":406,"messageKey":"http.status.406","name":"Not Acceptable"}

 

Has anyone got this error? Do you know how could I fix it?

 

My current PostMan configuration is:

URL:

ttps://sandbox.esignlive.com/api/packages/{PackageID}/download?documents=true&evidenceSummary=true

Headers:

Accept: application/pdf (I've tried with application/zip)

Content-Type: application/json

Authorization: Basic API-Key


Attachments
sukhman_kaur | Posts: 10

Reply to: Downloading Documents Zip file API not working

0 votes

Hello Alfonso,

Indeed, the API call results in the error :
{"message":"Not Acceptable","code":406,"messageKey":"http.status.406","name":"Not Acceptable"}

Please use the updated Headers:

Content-Type: application/zip
Authorization: Basic API-Key

We have internally raised a request to update our documentation. 

Thank you


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off