Closed osyniakov closed 5 years ago
Hi, We have fixed the issues with new eSignature API version and new SDK release candidate. Please have a look at v2.8.0-RC1 of the Maven/Gradle package.
You can now use updateChunkedUpload. We have a 2.8.0-RC1 branch. Please have a look at the test case as well.
Let us know if this resolves the issue.
The issue is fixed. It works as expected now.
Problem: Call of EnvelopesApi.updateChunkedUpload(String accountId, String chunkedUploadId) fails with HTTP code 411.
Which most probably happens because body for "PUT" request is empty and ApiClient sets "Content-Length" header = "0". Please see com.docusign.esign.client.ApiClient.java, line 989:
if (body == null) { builder = builder.header("Content-Length", "0"); }
Checked with "docusign-esign-java" version 2.7.0
Complete stacktrace:
Code snippet: