title: A blank document is uploaded for the sender view
body: <p>I am trying to upload pdf files to DocuSign to generate <code>sender view</code>. There are two files, one is 13KB and another is 300KB.</p>
  
  <p>Following is a function that accepts the document in <code>7-Bit</code> encoding and converts to <code>base64</code> before sending to DocuSign.</p>
  
  <p>The problem is, the documents are reflected in the sender view generated but I can only see the one which is 13KB. Another document is blank. What could be the reason for this?</p>
  
  <pre><code> createEnvelopeWithEmbeddedLink({ subject, documentList, email, name, userId, status }) {
  
          let _this = this;
          return Promise.coroutine(function* () {
              let baseURL = yield _this.baseUrl();
              // Step-1: Create an envelope with embedded document
              let apiURLCE = `${baseURL}/envelopes`;
              let requestPayloadCE = {
                  status: status, 
                  /**
                   * @see ENVELOPE_STATUS
                   */
                  emailSubject: subject,
                  recipients: {}
              };
  
              // Create a document object list
              for (let i = 0; i &lt; documentList.length; i++) {
                  let dobj = {
                      documentId: i + 1,
                      name: documentList[i].filename,
                      documentBase64: Buffer.from(documentList[i].content).toString('base64')
                  };
  
                  if (requestPayloadCE.documents)
                      requestPayloadCE.documents.push(dobj);
                  else
                      requestPayloadCE.documents = [dobj];
              }
  
              // Create the recipient/signer list
              requestPayloadCE.recipients.signers = [
                  {
                      email: email,
                      name: name,
                      recipientId: 1,
                      clientUserId: userId
                  }
              ];
  
              requestPayloadCE = JSON.stringify(requestPayloadCE);
              let requestOptionsCE = _initRequest(apiURLCE, 'POST', requestPayloadCE, _accountDetails(pvtProps.get(_this)));
              let responseCE = yield _request(requestOptionsCE);
              return responseCE;
          })();
      }
  </code></pre>