Am trying to send a signature request using text tags. I am sending the request exactly as in the samples, eg.
const opts = {
test_mode: 1,
subject: 'The NDA we talked about',
message: 'Please sign this NDA and then we can discuss more.',
signers: [
{
email_address: 'alice@example.com',
name: 'Alice',
},
{
email_address: 'bob@example.com',
name: 'Bob'
}
],
files: ['NDA.pdf'],
use_text_tags: 1,
};
await hellosign.signatureRequest.createEmbedded(opts)
And the API request succeeds, but when I check my documents in the management portal, it says "an error occurred" under the Status column. The error is:
Text tags error: No reference found in signer list to components labeled signer 1
The text tags in the document look like this:
[text|noreq|signer1]
[sig|req|signer1]
[sig|req|signer2]
Every signer has at least a signature field.
I noticed that if I reduce the amount of signers to just 1 (with the text tags updated to thus only have signer1), this error does not occur. However, no email notification is sent to the signer.