Dear User
Thank you for reaching out to DS. The error `"TAB_PAGENUMBER_IS_NOT_IN_DOCUMENT" indicates an issue where a tab is being placed on a page number that doesn't exist within the specified document. For example, the error message shows that the tab is set to appear on page 9 of document 1 for recipient 1. However, document 1 might not have a page 9, meaning the document either has fewer pages than expected or there was a mistake in specifying the page number.
Could you please raise a case with DS Support with API logs so we can reproduce the issue & help you further?
Thanks & Regards
Sai HariPriya Dandamudi | Senior Developer Support Engineer | DocuSign

Hi @Sai.Dandamudi ,
I don’t have a paid plan so I cannot go to Docusign Support.
I assume that the issue is that the other template that is supposedly for Document 2 is also being applied to Document 1.
This is my request:
[
{
"compositeTemplateId":"1",
"document":{
"documentBase64":"sampleDocumentBase64Doc1",
"documentId":"1",
"fileExtension":"pdf",
"name":"Client Agreement 2-2024 mapped - Copy"
},
"serverTemplates":[
{
"sequence":"1",
"templateId":"beee76a5-7041-4b3d-aab8-a54d865fc8b4"
}
],
"inlineTemplates":[
{
"recipients":{
"signers":[
{
"email":"kenmichaelsev@gmail.com",
"name":"Ken Sevilla",
"roleName":"Client",
"recipientId":"1",
"accessCode":"12345"
},
{
"email":"kenmichaelsev@gmail.com",
"name":"Ken Joint",
"roleName":"Client 2",
"recipientId":"2",
"accessCode":"12345"
},
{
"email":"Advisor@advisor.com",
"name":"Representative",
"roleName":"Representative",
"recipientId":"3"
},
{
"email":"esig@unitedplanners.com",
"name":"United Planners",
"roleName":"United Planners",
"recipientId":"4"
}
]
},
"sequence":"2"
}
]
},
{
"compositeTemplateId":"2",
"document":{
"documentBase64":"sampleDocumentBase64Doc2",
"documentId":"2",
"fileExtension":"pdf",
"name":"IMSA"
},
"serverTemplates":[
{
"sequence":"1",
"templateId":"178a3e4a-88ab-4a47-898e-9300ce82edfe"
}
],
"inlineTemplates":[
{
"recipients":{
"signers":[
{
"email":"kenmichaelsev@gmail.com",
"name":"Ken Sevilla",
"roleName":"Client",
"recipientId":"1",
"accessCode":"12345"
},
{
"email":"kenmichaelsev@gmail.com",
"name":"Ken Joint",
"roleName":"Client 2",
"recipientId":"2",
"accessCode":"12345"
},
{
"email":"Advisor@advisor.com",
"name":"Representative",
"roleName":"Representative",
"recipientId":"3"
},
{
"email":"esig@unitedplanners.com",
"name":"United Planners",
"roleName":"United Planners",
"recipientId":"4"
}
]
},
"sequence":"2"
}
]
}
]