documentExtractError
Sunday, June 6, 2021 at 12:36pmHello,
I get documentExtractError when create and send package with pdf document in REST API. It started when I added "extractAnchor".
Request failed with HTTP Code:: 400 Request Body:: {"messageKey":"error.validation.verifyDocument.documentExtractError","code":400,"message":"[error.validation.verifyDocument.documentExtractError]","name":"Validation Error"}
What I am doing wrong?
Here is json:
{
"roles":[
{
"id":"2",
"signers":[
{
"email":"[email protected]",
"firstName":"Pavlo Mamin",
"lastName":"Mamin",
"company":"Stay in Sweden"
}
]
},
{
"id":"1",
"signers":[
{
"email":"[email protected]",
"firstName":"Pavlo ",
"lastName":"Mamin",
"company":"Stay in Sweden"
}
]
}
],
"documents":[
{
"approvals":[
{
"role":"2",
"index":0,
"fields":[
{
"page":0,
"top":850,
"subtype":"FULLNAME",
"height":40,
"left":100,
"width":150,
"type":"SIGNATURE",
"characterIndex":2,
"extractAnchor":{
"anchorPoint":"TOPLEFT",
"index":0,
"characterIndex":2,
"width":150,
"height":40,
"text":"LANDLORD",
"topOffset":850,
"leftOffset":100
}
}
]
},
{
"role":"1",
"index":0,
"fields":[
{
"page":0,
"top":750,
"subtype":"FULLNAME",
"height":40,
"left":100,
"width":150,
"type":"SIGNATURE",
"characterIndex":1,
"extractAnchor":{
"anchorPoint":"TOPLEFT",
"index":0,
"characterIndex":1,
"width":150,
"height":40,
"text":"CLIENT",
"topOffset":750,
"leftOffset":100
}
}
]
}
],
"name":"test4"
}
],
"name":"ESign package LC00004",
"type":"PACKAGE",
"language":"en",
"emailMessage":"Please click the link to sign the lease agreement.",
"description":"",
"autocomplete":true,
"status":"SENT"
}