Skip to content

EnvelopesApi "liststatus" and "listStatusChanges" produce "400 BAD REQUEST" errors #156

Description

@mkornblum

Hello!

The following code always produces a 400 error:

EnvelopeIdsRequest request = new EnvelopeIdsRequest();
request.setEnvelopeIds(incompleteEnvelopeIds);

EnvelopesInformation envelopesInformation = envelopesApi
     .listStatus(accountId, request);
com.docusign.esign.client.ApiException: Error while requesting server, received a non successful HTTP code 400 with response Body: '{
  "errorCode": "INVALID_REQUEST_PARAMETER",
  "message": "The request contained at least one invalid parameter. Query parameter 'from_date' must be set to a valid DateTime, or 'envelope_ids' or 'transaction_ids' must be specified."
}'

From tracking this through the java client guts with the debugger, it looks to me like the EnvelopeIdsRequest is not getting properly serialized and not included with the request. It's there in the Docusign client code, but somewhere in Jersey it doesn't get written when the PUT is actually executed.

I wonder if this may be a similar underlying issue to #154? I also noticed a couple of comments from this past May on an old issue documenting the same problem: #76

I have tried this with both 2.15 and 3.6 of the Docusign client and had the same issue with both of them.

Thanks for any assistance!

Mark

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions