Error NOTARY_HOSTED_SIGNER_ID_REQUIRED when trying to send an eNotary envelope

86 Views Asked by At

Let my envelope be as below :

{
    "allowReassign": "false",
    "documents": [
        {
            "documentBase64": "JVBE",
            "documentId": "1",
            "fileExtension": "PDF",
            "name": "DocumentToNotarize"
        }
    ],
    "emailSubject": "Notary Test",
    "enableWetSign": "false",
    "notification": {
        "expirations": {
            "expireAfter": "4",
            "expireEnabled": "True"
        }
    },
    "recipients": {
        "inPersonSigners": [
            {
                "email": "[email protected]",
                "inPersonSigningType": "notary",
                "name": "Signer",
                "notaryHost": {
                    "deliveryMethod": "email",
                    "email": "[email protected]",
                    "name": "Notary",
                    "recipientId": "995a0019-f0bc-47bf-94d5-426607388f7b",
                    "tabs": {
                        "notarizeTabs": [
                            {
                                "documentId": "1",
                                "pageNumber": "1",
                                "xPosition": "100",
                                "yPosition": "100"
                            }
                        ]
                    }
                },
                "recipientId": "3fa6ffaf-f87e-4f27-9129-6d12d987f59b",
                "tabs": {
                    "signHereTabs": [
                        {
                            "documentId": "1",
                            "pageNumber": "1",
                            "recipientId": "3fa6ffaf-f87e-4f27-9129-6d12d987f59b",
                            "scaleValue": "0.6",
                            "xPosition": "45",
                            "yPosition": "527"
                        }
                    ]
                }
            }
        ]
    },
    "status": "sent"
}

Which triggers the following error :

{
    "errorCode": "NOTARY_HOSTED_SIGNER_ID_REQUIRED",
    "message": "The host signer Id is required to associate with notary in person signer."
}

I have found, surprisingly, that if I only change the signer's recipientId to an integer as below, it works !? Am I missing something ? GUIDs are allowed right ?

 "recipientId": "3",
        "tabs": {
          "signHereTabs": [
            {
              "documentId": "2",
              "pageNumber": "1",
              "recipientId": "3",
              "scaleValue": "0.6",
              "xPosition": "45",
              "yPosition": "527"
            }
          ]
        }
      }
2

There are 2 best solutions below

1
Larry K On

I have found, surprisingly, that if I only change the signer's recipientId to an integer as below, it works !? Am I missing something ? GUIDs are allowed right ?

If it works when you use an integer, then I recommend you use an integer.

If you want to store a guid with the recipient as metadata that you can later retrieve from the envelope, then use the customFields attribute of the signer object.

1
Jsammons On

For most API calls, there isn't a problem to set a GUID for recipientId because most recipient types aren't dependent on another recipient.

The problem here with notary is that the notary and signer recipient are associated by the recipientId and the API logic is designed to parse recipientId as Int, which likely caused the issue. You would also run into the same issue if using in-person signing as it's a very similar process where the host and the in-person signer are a single recipient.