- I’m using the createEnvelope API with a templateId and templateRoles.
- The envelope is sent successfully, and recipients get the email, but all fields are blank.
- The data I’m passing to the tabs property in templateRoles matches the field names in my template.
- When I first set this up, a few fields were autofilled, but now none are, even though the code and data structure haven’t changed.
- I’ve double-checked that the role names and field names in my code match those in the template.
Example of my envelope definition:
const envelopeDefinition = {
templateId,
status: 'sent',
templateRoles: l
{
email: signerEmail,
name: signerName,
roleName: 'Signer',
tabs: signerData // This contains the field data
}
]
};
- What are the most common reasons for fields not being autofilled in a DocuSign template, even when the data structure appears correct?
- Are there any recent changes or gotchas with the API or template field naming that could cause this?
- Is there a way to debug or log what DocuSign is actually receiving for the tabs/fields to help pinpoint the issue?