Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Error after creating a signature request using text tags #98

@hjklqw

Description

@hjklqw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    legacyRelated to legacy, non-OpenAPI SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions