rpula123 | Posts: 23

Unable to retrieve evidence summary

0 votes
Hi, I am trying to get evidence summary for a package . But it is returning a response with "Not Acceptable" and code 406. Below is the api url and response. Please help. https://sandbox.esignlive.com/packages/ZtUzoEKETaktXoVREFuRmuw_r0o=/evidence/summary { "packageId": null, "technical": "", "entity": null, "messageKey": "http.status.406", "messageLanguage": null, "message": "Not Acceptable", "code": 406, "parameters": {}, "name": "Not Acceptable" }

Duo_Liang | Posts: 3776

Reply to: Unable to retrieve evidence summary

0 votes
Hi rpula123, To download evidence summary, please make sure that your request header was set correctly especially the "Accept" attribute:
HTTP Headers
Accept: application/pdf
Authorization: Basic api_key
It could be either "application/pdf" or leave it empty. (but would yield this 406 error with "application/json") Please kindly check your code and if it's not the case, we can discuss further. Duo

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