json - Getting TAB_PAGENUMBER_IS_NOT_IN_DOCUMENT despite not using any page numbers -


i making post request /v2/accounts/<account_id>/envelopes. here error getting:

{     "errorcode": "tab_pagenumber_is_not_in_document",     "message": "the pagenumber specified in tab element not in document tab refers to. tab on page 2 of document 3 recipient 1" } 

normally request contains text tabs , checkbox tabs, none of these tabs refer page. specify name, tablabel & value text tabs , name, tablabel & selected checkboxes. same error when send no tab data.

here 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 , redacted fields otherwise exact same json we're sending.

why getting error page number though we're not specifying pages, when we're not specifying tabs @ all?

in docusign platform there 2 ways of specifying tab locations, through absolute positioning using x , y coordinates or through what's known anchor tagging, places tabs based on document content. if making post request uri

/v2/accounts/<account_id>/envelopes 

and setting status sent instead of creating draft setting status created, means sending signature request , need have tab information filled out tabs. that's why error when not setting tabs in request.

in terms of why getting missing page number error, since using absolute positioning setting x , y coordinates need specify on page placing them. if using anchor tagging not need set page numbers. ways can set tabs this:

-- absolute positioning --

"signheretabs": [     {         "xposition": "100",         "yposition": "100",         "documentid": "1",         "pagenumber": "1"     } ] 

-- anchor based positioning --

"signheretabs": [     {         "anchorstring": "please sign here:",         "anchorxoffset": "1",         "anchoryoffset": "0.5",         "anchorignoreifnotpresent": "false",         "anchorunits": "inches"     } ] 

Comments

Popular posts from this blog

design - Custom Styling Qt Quick Controls -

Unable to remove the www from url on https using .htaccess -