Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docusign Group checkbox throwing error while send envelope (not while generate) #331

Open
neena2504 opened this issue May 26, 2021 · 3 comments

Comments

@neena2504
Copy link

neena2504 commented May 26, 2021

Whenever we are using the new Group Checkbox in a template, the document gets generated properly using the docusign api but throws exception while sending the document. Following is the exception that we see in the response that is received from Docusign while trying to send the envelope:

_"exception": {
"errorCode": 400,
"errorContent": "{"errorCode":"TABGROUP_INVALID_GROUPLABEL","message":"GroupLabel cannot be blank or duplicated within same scope. GroupLabel: Checkbox Group c690ebdc-8977-4abd-b4d6-f0a5c3451aa2 TabScope: Document"}",
"message": "Error calling CreateEnvelope: {"errorCode":"TABGROUP_INVALID_GROUPLABEL","message":"GroupLabel cannot be blank or duplicated within same scope. GroupLabel: Checkbox Group c690ebdc-8977-4abd-b4d6-f0a5c3451aa2 TabScope: Document"}",
"data": {},
"source": "DocuSign.eSign",
"hResult": -2146233088
}

Please note that the Guids are auto -assigned and we have not modified anything. Also, we notice that for every group checkbox tab, a 'tabgroup' is created with validation info, which has the same tabgrouplabel as the checkbox. Not sure if that is why it is complaining about the duplicate group label. See below json (partially extracted):

"checkboxTabs": [
{
"documentId": "1",
"font": "lucidaconsole",
"fontColor": "black",
"fontSize": "size9",
"height": "0",
"locked": "false",
"name": "",
"pageNumber": "1",
"recipientId": "88680794",
"required": "false",
"selected": "false",
"shared": "false",
"tabGroupLabels": [
"Checkbox Group c690ebdc-8977-4abd-b4d6-f0a5c3451aa2"
],
"tabId": "ed0fe172-f3bf-4c3a-9f37-c615d394d2a4",
"tabLabel": "Checkbox 18d09463-a806-4c08-b998-2b53dd345a8e",
"tabType": "checkbox",
"templateLocked": "false",
"templateRequired": "false",
"width": "0",
"xPosition": "152",
"yPosition": "667"
}],
"tabGroups": [
{
"documentId": "1",
"groupLabel": "Checkbox Group c690ebdc-8977-4abd-b4d6-f0a5c3451aa2",
"groupRule": "SelectAtLeast",
"height": "0",
"maximumAllowed": "1",
"minimumRequired": "0",
"pageNumber": "1",
"recipientId": "88680794",
"tabId": "1fdc7744-f099-4bd3-b378-7c4357a3c469",
"tabScope": "Document",
"tabType": "tabgroup",
"templateLocked": "false",
"templateRequired": "false",
"width": "0",
"xPosition": "0",
"yPosition": "0"
}]

@ivdinkovds
Copy link

Hi @neena2504, it sounds like the issue is from the way you build your request i.e. simple server template, composite template. But in order to investigate and repro the issue, I'd suggest opening a case with us. You will need to provide the full API JSON request ( this could be done by collecting API logs - https://support.docusign.com/en/guides/ndse-user-guide-api-request-logging ). As well, please download and attach your template to the case.

@neena2504
Copy link
Author

Hi @ivdinkovds, first of all thanks a lot for your response, I had been waiting for someone to see this and respond.
I see what you mean, I will attach a sample by tomorrow. Do let me know if you need any other info.

@neena2504
Copy link
Author

Hi @ivdinkovds PFA the sample request
12_BadRequest_CreateEnvelopeFromTemplatesAndForms.txt

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

No branches or pull requests

2 participants