Hello,
My name is Sean, I am with the Developer Support team
That 404 error can be anything. Can you please create a case with support so we can review the issue
Hi Sean,
Thanks for your reply, I'll contact the support then. In the meantime, here's the piece of code throwing the exception, which is an APIException by the way:
$strUuids is a clean string of uuids separated by a comma.
$options = new ListStatusChangesOptions();
$options->setEnvelopeIds($strUuids);
try {
$envelopeInformation = $envelopeApi->listStatusChanges(
$this->docusign->getAccountInfo('account_id'),
$options
);
$envelopes = $envelopeInformation->getEnvelopes();
} catch (ApiException $e) {
$io->error($this->setReportData('Unable to retrieve envelopes. Docusign API returned an error: ' . $e->getMessage() . ' line ' .$e->getLine()));
return Command::FAILURE;
}
Is it possible that the query parameters contain too many identifiers (UUIDs)? This is currently one of my leads.
Hi Vivian,
We would have to see what exactly comes back in the query
If you see in the following document for the listStatus endpoint there is no stated limit on the number of envelopeIDs that you can pass in the parameter query
https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/liststatus/
Hi Sean,
Sorry for the late reply.
We managed to fix the error by limiting the number of envelopes passed in the listStatusChange function parameters (less than 50).
This thread can now be closed. Thank you.