I am making a POST request to /v2/accounts/<account_id>/envelopes
. Here is the error I am getting:
{
"errorCode": "TAB_PAGENUMBER_IS_NOT_IN_DOCUMENT",
"message": "The pagenumber specified in the tab element is not in the document that the tab refers to. Tab on Page 2 of Document 3 for Recipient 1"
}
Normally this request contains some text tabs and checkbox tabs, none of these tabs refer to any page. We only specify name
, tabLabel
& value
for text tabs and name
, tabLabel
& selected
for checkboxes. But I get the same error even when I send no tab data.
Here is the request JSON:
{
"allowMarkup": false,
"allowReassign": false,
"allowRecipientRecursion": false,
"asynchronous": false,
"authoritativeCopy": false,
"autoNavigation": false,
"brandId": "",
"compositeTemplates": [{
"inlineTemplates": [{
"sequence": "2",
"recipients": {
"signers": [{
"accessCode": null,
"clientUserId": "123456",
"email": "EMAIL_1",
"emailNotification": null,
"name": "Atamert Olcgen",
"recipientId": "1",
"roleName": "Signer",
"tabs": {
"checkboxTabs": [
],
"radioGroupTabs": [
],
"textTabs": [
]
}
}]
}
}, {
"sequence": "3",
"recipients": {
"signers": [{
"accessCode": null,
"clientUserId": "123456",
"email": "EMAIL_1",
"emailNotification": null,
"name": "Atamert Olcgen",
"recipientId": "1",
"roleName": "Signer",
"tabs": {
"checkboxTabs": [
],
"radioGroupTabs": [
],
"textTabs": [
]
}
}]
}
}],
"serverTemplates": [{
"sequence": "2",
"templateId": "SECOND_TEMPLATE_ID"
}, {
"sequence": "3",
"templateId": "THIRD_TEMPLATE_ID"
}]
}],
"customFields": null,
"emailBlurb": "",
"emailSubject": "Email Subject",
"enableWetSign": false,
"enforceSignerVisibility": false,
"envelopeIdStamping": false,
"eventNotification": null,
"signingLocation": "Online",
"status": "sent",
"templateId": "FIRST_TEMPLATE_ID",
"templateRoles": [{
"accessCode": null,
"clientUserId": "123456",
"email": "EMAIL_1",
"emailNotification": null,
"name": "Atamert Olcgen",
"recipientId": "1",
"roleName": "Signer",
"tabs": {
"checkboxTabs": [
],
"radioGroupTabs": [
],
"textTabs": [
]
}
}, {
"accessCode": null,
"clientUserId": null,
"email": "EMAIL_2",
"emailNotification": null,
"name": "COMPANY_NAME",
"recipientId": "2",
"roleName": "COMPANY_NAME",
"tabs": {
"checkboxTabs": [
],
"radioGroupTabs": [
],
"textTabs": [
]
}
}]
}
I have prettyprinted and redacted some fields but otherwise this is the exact same JSON we're sending.
Why are we getting an error about page number even though we're not specifying any pages, even when we're not specifying any tabs at all?