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

"errorCode":"REQUIRED_TAB_INCOMPLETE" #238

Open
dijiehuang opened this issue Aug 8, 2022 · 4 comments
Open

"errorCode":"REQUIRED_TAB_INCOMPLETE" #238

dijiehuang opened this issue Aug 8, 2022 · 4 comments
Labels

Comments

@dijiehuang
Copy link

1、We have created a Template and pre-fill Fields by this way( link: https://support.docusign.com/s/document-item?language=en_US&bundleId=xry1643227563338&topicId=oqb1611172929107.html&_LANG=enus).
2、Then get templateId from step 1
3、My code:
` EnvelopeDefinition env = new EnvelopeDefinition();
env.setTemplateId(templateId);

    TemplateRole signer1 = new TemplateRole();
    signer1.setEmail(signerEmail);
    signer1.setName(signerName);
    signer1.setRoleName("role1");


    TemplateRole signer2 = new TemplateRole();
    signer2.setEmail(ccEmail);
    signer2.setName(ccName);
    signer2.setRoleName("role2");

    Text text = new Text();
    text.setDocumentId("1");
    text.setPageNumber("1");
    text.setXPosition("99");
    text.setYPosition("114");
    text.setTabId("3a6e1e3a-3d3d-4629-8dbe-f616e338bec1");
    text.setTabLabel("a5045fac-9679-498a-a73c-6c255dfccc49");
    text.setValue("123456");
    text.setLocked("true");
    Tabs tabs = new Tabs();
    tabs.setTextTabs(Arrays.asList(text));

    PrefillTabs prefillTabs = new PrefillTabs();
    prefillTabs.setTextTabs(Arrays.asList(text));
    tabs.setPrefillTabs(prefillTabs);
    signer1.setTabs(tabs);
    signer2.setTabs(tabs);

    env.setTemplateRoles(Arrays.asList(signer1, signer2));
    env.setStatus("sent");`

4、invoke ”envelopeApi.createEnvelope( )“ method,it returns "'{"errorCode":"REQUIRED_TAB_INCOMPLETE","message":"A Required field is incomplete. TabId: bce12361-40b1-4d4d-908a-8b549e2eb0b9"}'"

5、the pre-fill tab doesn't work

@SayedHhusseinDS
Copy link

Grab the envelope ID and see which tab it's referencing in IAC. The tab you are updating is not the same tab in the error

@dijiehuang
Copy link
Author

@SayedHhusseinDS It fails while creating envelope, so can't grab the envelope ID

@SayedHhusseinDS
Copy link

can you enable API Request logging on your account? This logging captures the last 50 API requests and assists Support in troubleshooting account issues.

Once you enable logging, you can download the resulting logs, and provide them here.
https://support.docusign.com/s/document-item?language=en_US&bundleId=jux1643235969954&topicId=poz1578456669909.html&_LANG=enus

@dijiehuang
Copy link
Author

can you enable API Request logging on your account? This logging captures the last 50 API requests and assists Support in troubleshooting account issues.

Once you enable logging, you can download the resulting logs, and provide them here. https://support.docusign.com/s/document-item?language=en_US&bundleId=jux1643235969954&topicId=poz1578456669909.html&_LANG=enus

@SayedHhusseinDS In what way do I provide the logs to you ?

@vinz vinz added the area-api label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants