Skip to main content

Hi All,

 

I am working on creating an envelope using API explorer in developers.docusign.com. I am able to send the document if I am not attaching any tabs to the document. However I am getting the below error if I am attaching tabs to the document. Kindly assist me with this issue. I have updated the url and body of my request.

 

{

  "message": "Bad Request",

  "response": {

    "errorCode": "UNSPECIFIED_ERROR",

    "message": "Object reference not set to an instance of an object."

  }

}


 

URL:

/restapi/v2.1/accounts/<accountId>/envelopes

 

Body:

{

  "documents": ;

    {

      "documentBase64": "<base64ForTheDocument>",

      "documentId": "1",

      "fileExtension": "pdf",

      "name": "document",

      "tabs": {

        "signHereTabs": >

          {

            "anchorString": "Signature:",

            "documentId": "1",

            "anchorXOffset": "1",

            "anchorYOffset": "0",

            "anchorIgnoreIfNotPresent": "True",

            "anchorUnits": "inches"

          }

        ]

      }

    }

  ],

  "recipients": {

    "signers":

      {

        "email": "<email>",

        "name": "Kapil",

        "recipientId": "1"

      }

    ]

  },

  "status": "sent",

  "emailSubject": "Docusign developer account"

}

 

signHere tab should in signer object.

https://developers.docusign.com/docs/esign-rest-api/esign101/concepts/envelopes/

 

FreeLink/甫连信息

🌍 DocuSign Partner | Partner Profile

🏆 DocuSign 2024 APAC Reseller Growth Partner of the Year

🌟 The only DocuSign Partner globally certified as both a Certified eSignature Administrator and eSignature Technical Consultant.

📊 DocuSign Community Leaderboard Top 5 contributor.

🚀 Expertise in DocuSign integrations with on-premises systems for leading enterprises across various industries.


Reply