Error when trying to upload documents to an existing package
Wednesday, December 5, 2018 at 05:37amGuys,
I have an existing transaction that I am trying to add documents to. Below, you'll find the json package that I am sending up with the files. I am getting this error when trying to upload those files. I can see that I do have 3 files that I am sending up which matches the document count in the JSON string. Can you guys give me a clue as to what is going on?
-------------------------------
File Name: Transaction Upload
MessageKey: error.validation.package.wrongNumberOfFiles
Error Message: Number of uploaded files does not match number of documents specified in package.
Response Error Code: 400
Error Name: Validation Error
-------------------------------
{
"documents": [
{
"approvals": [
{
"role": "BorrowerSignature0",
"id": "Approval_1",
"fields": [
{
"name": "",
"binding": null,
"page": 15,
"top": 314.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 93.0,
"width": 218.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "BorrowerSignature1",
"id": "Approval_2",
"fields": [
{
"name": "",
"binding": null,
"page": 15,
"top": 314.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 420.0,
"width": 218.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 1",
"fields": [
{
"name": "",
"binding": "{signer.name}",
"page": 16,
"top": 189.0,
"subtype": "LABEL",
"height": 26.0,
"left": 185.0,
"width": 245.0,
"type": "INPUT",
"value": "{signer.name}",
"validation": null
},
{
"name": "",
"binding": null,
"page": 16,
"top": 456.0,
"subtype": "LABEL",
"height": 23.0,
"left": 455.0,
"width": 173.0,
"type": "INPUT",
"value": "November, 2018",
"validation": null
},
{
"name": "",
"binding": null,
"page": 16,
"top": 462.0,
"subtype": "LABEL",
"height": 17.0,
"left": 363.0,
"width": 41.0,
"type": "INPUT",
"value": "9th",
"validation": null
},
{
"name": "",
"binding": null,
"page": 16,
"top": 547.0,
"subtype": "FULLNAME",
"height": 24.0,
"left": 423.0,
"width": 234.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 2",
"fields": [
{
"name": "",
"binding": null,
"page": 16,
"top": 530.0,
"subtype": "CAPTURE",
"height": 61.0,
"left": 102.0,
"width": 294.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "BorrowerSignature0",
"id": "Approval_3",
"fields": [
{
"name": "",
"binding": null,
"page": 16,
"top": 210.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 272.0,
"width": 218.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "BorrowerSignature1",
"id": "Approval_4",
"fields": [
{
"name": "",
"binding": null,
"page": 16,
"top": 210.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 412.0,
"width": 218.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "BorrowerSignature0",
"id": "Approval_5",
"fields": [
{
"name": "",
"binding": null,
"page": 19,
"top": 282.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 115.0,
"width": 218.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "BorrowerSignature1",
"id": "Approval_6",
"fields": [
{
"name": "",
"binding": null,
"page": 19,
"top": 281.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 418.0,
"width": 218.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
}
],
"id": "Security_Instrument",
"index": 1,
"name": "Security Instrument",
"isConsent": false
},
{
"approvals": [
{
"role": "BorrowerSignature0",
"id": "Approval_1",
"fields": [
{
"name": "",
"binding": null,
"page": 4,
"top": 492.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 94.0,
"width": 218.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "BorrowerSignature1",
"id": "Approval_2",
"fields": [
{
"name": "",
"binding": null,
"page": 4,
"top": 492.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 421.0,
"width": 218.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 1",
"fields": [
{
"name": "",
"binding": "{signer.name}",
"page": 5,
"top": 235.0,
"subtype": "LABEL",
"height": 26.0,
"left": 422.0,
"width": 245.0,
"type": "INPUT",
"value": "{signer.name}",
"validation": null
},
{
"name": "NotaryLicenseExpiryDate",
"binding": null,
"page": 5,
"top": 283.0,
"subtype": "CUSTOMFIELD",
"height": 28.0,
"left": 563.0,
"width": 162.0,
"type": "INPUT",
"value": null,
"validation": null
},
{
"name": "",
"binding": null,
"page": 5,
"top": 89.0,
"subtype": "LABEL",
"height": 17.0,
"left": 378.0,
"width": 41.0,
"type": "INPUT",
"value": "9th",
"validation": null
},
{
"name": "",
"binding": null,
"page": 5,
"top": 86.0,
"subtype": "LABEL",
"height": 20.0,
"left": 469.0,
"width": 153.0,
"type": "INPUT",
"value": "November, 2018",
"validation": null
},
{
"name": "",
"binding": null,
"page": 5,
"top": 172.0,
"subtype": "FULLNAME",
"height": 24.0,
"left": 424.0,
"width": 234.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 2",
"fields": [
{
"name": "",
"binding": null,
"page": 5,
"top": 124.0,
"subtype": "CAPTURE",
"height": 61.0,
"left": 95.0,
"width": 294.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 3",
"fields": [
{
"name": "",
"binding": "{signer.name}",
"page": 6,
"top": 508.0,
"subtype": "LABEL",
"height": 26.0,
"left": 372.0,
"width": 245.0,
"type": "INPUT",
"value": "{signer.name}",
"validation": null
},
{
"name": "",
"binding": null,
"page": 6,
"top": 508.0,
"subtype": "LABEL",
"height": 26.0,
"left": 118.0,
"width": 238.0,
"type": "INPUT",
"value": "November 09, 2018",
"validation": null
},
{
"name": "",
"binding": null,
"page": 6,
"top": 772.0,
"subtype": "FULLNAME",
"height": 25.0,
"left": 419.0,
"width": 234.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 4",
"fields": [
{
"name": "",
"binding": null,
"page": 6,
"top": 749.0,
"subtype": "CAPTURE",
"height": 61.0,
"left": 98.0,
"width": 294.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "BorrowerSignature1",
"id": "Approval_3",
"fields": [
{
"name": "",
"binding": null,
"page": 6,
"top": 361.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 421.0,
"width": 218.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 5",
"fields": [
{
"name": "",
"binding": null,
"page": 7,
"top": 987.0,
"subtype": "LABEL",
"height": 17.0,
"left": 334.0,
"width": 41.0,
"type": "INPUT",
"value": "9th",
"validation": null
},
{
"name": "",
"binding": null,
"page": 7,
"top": 984.0,
"subtype": "LABEL",
"height": 20.0,
"left": 425.0,
"width": 153.0,
"type": "INPUT",
"value": "November, 2018",
"validation": null
},
{
"name": "",
"binding": null,
"page": 7,
"top": 1075.0,
"subtype": "FULLNAME",
"height": 24.0,
"left": 419.0,
"width": 234.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 6",
"fields": [
{
"name": "",
"binding": null,
"page": 7,
"top": 1051.0,
"subtype": "CAPTURE",
"height": 61.0,
"left": 98.0,
"width": 294.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "BorrowerSignature0",
"id": "Approval_4",
"fields": [
{
"name": "",
"binding": null,
"page": 7,
"top": 576.0,
"subtype": "LABEL",
"height": 31.0,
"left": 279.0,
"width": 103.0,
"type": "INPUT",
"value": "11/09/2018",
"validation": null
},
{
"name": "",
"binding": null,
"page": 7,
"top": 574.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 67.0,
"width": 212.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "BorrowerSignature1",
"id": "Approval_5",
"fields": [
{
"name": "",
"binding": null,
"page": 7,
"top": 576.0,
"subtype": "LABEL",
"height": 31.0,
"left": 630.0,
"width": 103.0,
"type": "INPUT",
"value": "11/09/2018",
"validation": null
},
{
"name": "",
"binding": null,
"page": 7,
"top": 574.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 417.0,
"width": 213.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 7",
"fields": [
{
"name": "",
"binding": null,
"page": 9,
"top": 691.0,
"subtype": "LABEL",
"height": 20.0,
"left": 403.0,
"width": 153.0,
"type": "INPUT",
"value": "November, 2018",
"validation": null
},
{
"name": "",
"binding": null,
"page": 9,
"top": 694.0,
"subtype": "LABEL",
"height": 17.0,
"left": 309.0,
"width": 41.0,
"type": "INPUT",
"value": "9th",
"validation": null
},
{
"name": "",
"binding": null,
"page": 9,
"top": 763.0,
"subtype": "FULLNAME",
"height": 24.0,
"left": 423.0,
"width": 234.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 8",
"fields": [
{
"name": "",
"binding": null,
"page": 9,
"top": 739.0,
"subtype": "CAPTURE",
"height": 61.0,
"left": 96.0,
"width": 294.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "BorrowerSignature0",
"id": "Approval_6",
"fields": [
{
"name": "",
"binding": null,
"page": 9,
"top": 328.0,
"subtype": "LABEL",
"height": 31.0,
"left": 279.0,
"width": 103.0,
"type": "INPUT",
"value": "11/09/2018",
"validation": null
},
{
"name": "",
"binding": null,
"page": 9,
"top": 327.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 72.0,
"width": 206.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "BorrowerSignature0",
"id": "Approval_7",
"fields": [
{
"name": "",
"binding": null,
"page": 10,
"top": 675.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 70.0,
"width": 218.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 9",
"fields": [
{
"name": "NotaryLicenseExpiryDate",
"binding": null,
"page": 11,
"top": 298.0,
"subtype": "CUSTOMFIELD",
"height": 28.0,
"left": 563.0,
"width": 162.0,
"type": "INPUT",
"value": null,
"validation": null
},
{
"name": "",
"binding": null,
"page": 11,
"top": 167.0,
"subtype": "LABEL",
"height": 17.0,
"left": 285.0,
"width": 41.0,
"type": "INPUT",
"value": "9th",
"validation": null
},
{
"name": "",
"binding": null,
"page": 11,
"top": 164.0,
"subtype": "LABEL",
"height": 20.0,
"left": 376.0,
"width": 153.0,
"type": "INPUT",
"value": "November, 2018",
"validation": null
},
{
"name": "",
"binding": null,
"page": 11,
"top": 251.0,
"subtype": "FULLNAME",
"height": 24.0,
"left": 419.0,
"width": 234.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 10",
"fields": [
{
"name": "",
"binding": null,
"page": 11,
"top": 195.0,
"subtype": "CAPTURE",
"height": 61.0,
"left": 72.0,
"width": 294.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 11",
"fields": [
{
"name": "",
"binding": "{signer.name}",
"page": 12,
"top": 874.0,
"subtype": "LABEL",
"height": 26.0,
"left": 161.0,
"width": 245.0,
"type": "INPUT",
"value": "{signer.name}",
"validation": null
},
{
"name": "",
"binding": null,
"page": 12,
"top": 1049.0,
"subtype": "LABEL",
"height": 17.0,
"left": 332.0,
"width": 41.0,
"type": "INPUT",
"value": "9th",
"validation": null
},
{
"name": "",
"binding": null,
"page": 12,
"top": 1043.0,
"subtype": "LABEL",
"height": 23.0,
"left": 424.0,
"width": 173.0,
"type": "INPUT",
"value": "November, 2018",
"validation": null
},
{
"name": "",
"binding": null,
"page": 12,
"top": 1094.0,
"subtype": "FULLNAME",
"height": 24.0,
"left": 423.0,
"width": 234.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 12",
"fields": [
{
"name": "",
"binding": null,
"page": 12,
"top": 1078.0,
"subtype": "CAPTURE",
"height": 61.0,
"left": 102.0,
"width": 294.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "BorrowerSignature0",
"id": "Approval_8",
"fields": [
{
"name": "",
"binding": null,
"page": 12,
"top": 527.0,
"subtype": "LABEL",
"height": 31.0,
"left": 279.0,
"width": 103.0,
"type": "INPUT",
"value": "11/09/2018",
"validation": null
},
{
"name": "",
"binding": null,
"page": 12,
"top": 527.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 69.0,
"width": 210.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "BorrowerSignature1",
"id": "Approval_9",
"fields": [
{
"name": "",
"binding": null,
"page": 12,
"top": 527.0,
"subtype": "LABEL",
"height": 31.0,
"left": 630.0,
"width": 103.0,
"type": "INPUT",
"value": "11/09/2018",
"validation": null
},
{
"name": "",
"binding": null,
"page": 12,
"top": 527.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 420.0,
"width": 210.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "BorrowerSignature0",
"id": "Approval_10",
"fields": [
{
"name": "",
"binding": null,
"page": 13,
"top": 624.0,
"subtype": "LABEL",
"height": 31.0,
"left": 279.0,
"width": 103.0,
"type": "INPUT",
"value": "11/09/2018",
"validation": null
},
{
"name": "",
"binding": null,
"page": 13,
"top": 622.0,
"subtype": "FULLNAME",
"height": 31.0,
"left": 68.0,
"width": 211.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 13",
"fields": [
{
"name": "",
"binding": "{signer.name}",
"page": 14,
"top": 166.0,
"subtype": "LABEL",
"height": 26.0,
"left": 161.0,
"width": 245.0,
"type": "INPUT",
"value": "{signer.name}",
"validation": null
},
{
"name": "",
"binding": null,
"page": 14,
"top": 423.0,
"subtype": "LABEL",
"height": 17.0,
"left": 332.0,
"width": 41.0,
"type": "INPUT",
"value": "9th",
"validation": null
},
{
"name": "NotaryLicenseExpiryDate",
"binding": null,
"page": 14,
"top": 540.0,
"subtype": "CUSTOMFIELD",
"height": 28.0,
"left": 557.0,
"width": 162.0,
"type": "INPUT",
"value": null,
"validation": null
},
{
"name": "",
"binding": null,
"page": 14,
"top": 417.0,
"subtype": "LABEL",
"height": 23.0,
"left": 424.0,
"width": 173.0,
"type": "INPUT",
"value": "November, 2018",
"validation": null
},
{
"name": "",
"binding": null,
"page": 14,
"top": 477.0,
"subtype": "FULLNAME",
"height": 24.0,
"left": 419.0,
"width": 234.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
},
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 14",
"fields": [
{
"name": "",
"binding": null,
"page": 14,
"top": 460.0,
"subtype": "CAPTURE",
"height": 61.0,
"left": 98.0,
"width": 294.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
}
],
"id": "Notary_Borrower",
"index": 1,
"name": "Notary Borrower",
"isConsent": false
},
{
"approvals": [
{
"role": "7fb83e96-c95c-402b-b0e6-200b92715207",
"id": "NotaryApproval 1",
"fields": [
{
"name": "",
"binding": null,
"page": 0,
"top": 529.0,
"subtype": "FULLNAME",
"height": 26.0,
"left": 103.0,
"width": 236.0,
"type": "SIGNATURE",
"value": "",
"validation": null
}
]
}
],
"id": "Electronic_Concent_Form",
"index": 1,
"name": "Electronic Concent Form",
"isConsent": false
}
],
"status": "",
"type": "PACKAGE",
"notarized": false,
"notaryRoleId": null,
"name": "BROWN-180909628_821419ee-1772-412f-8fe2-42220ff171d7",
"settings": null,
"data": null
}
Reply to: Error when trying to upload documents to an existing package
Wednesday, December 5, 2018 at 05:56amPOST /api/packages/{packageId}/documentsYou should organize your payload in this way:[ { "id":"document1", ...... }, { "id":"document2", ...... }, { "id":"document3", ...... } ]And the attachment is the re-built json for you. Hope this could help! DuoReply to: Error when trying to upload documents to an existing package
Wednesday, December 5, 2018 at 05:57amReply to: Error when trying to upload documents to an existing package
Wednesday, December 5, 2018 at 08:56amReply to: Error when trying to upload documents to an existing package
Wednesday, December 5, 2018 at 09:18amPOST /api/packages/{packageId}/documents/visibility { "configurations": [ { "documentUid": "doc1", "roleUids": [ "Signer1" ] }, { "documentUid": "doc2", "roleUids": [ "Signer2" ] }, { "documentUid": "doc3", "roleUids": [ "Signer1", "Signer2" ] } ] }Hope this could help! DuoReply to: Error when trying to upload documents to an existing package
Wednesday, December 5, 2018 at 09:19am