trevorewen | Posts: 43

Unexpected Error

0 votes
You guys have been incredibly helpful, and I know you're bogged down. But I figured I would throw this up here and see what information you can provide. I am getting an Unexpected Error. Our technical staff have been notified and will look into the problem. We apologize for any inconvenience this may have caused you. To the extent that it's helpful, here is my josn payload:
{
    "type": "PACKAGE",
    "language": "en",
    "emailMessage": "",
    "autoComplete": true,
    "status": "SENT",
    "roles": [
        {
            "locked": false,
            "emailMessage": {
                "content": ""
            },
            "attachmentRequirements": [],
            "reassign": false,
            "specialTypes": [],
            "data": null,
            "type": "SIGNER",
            "index": 0,
            "signers": [
                {
                    "auth": {
                        "challenges": [],
                        "scheme": "NONE"
                    },
                    "company": "",
                    "phone": "",
                    "knowledgeBasedAuthentication": null,
                    "language": "en",
                    "title": "",
                    "external": null,
                    "professionalIdentityFields": [],
                    "userCustomFields": [],
                    "delivery": {
                        "email": true,
                        "provider": true,
                        "download": true
                    },
                    "group": null,
                    "signature": null,
                    "address": null,
                    "data": null,
                    "name": "",
                    "specialTypes": [],
                    "firstName": "Steve",
                    "lastName": "Mikes",
                    "email": "[email protected]",
                    "id": "Customer"
                }
            ],
            "name": "Customer",
            "id": "Customer"
        },
        {
            "locked": false,
            "emailMessage": {
                "content": ""
            },
            "attachmentRequirements": [],
            "reassign": false,
            "specialTypes": [],
            "data": null,
            "type": "SIGNER",
            "index": 0,
            "signers": [
                {
                    "auth": {
                        "challenges": [],
                        "scheme": "NONE"
                    },
                    "company": "",
                    "phone": "",
                    "knowledgeBasedAuthentication": null,
                    "language": "en",
                    "title": "",
                    "external": null,
                    "professionalIdentityFields": [],
                    "userCustomFields": [],
                    "delivery": {
                        "email": true,
                        "provider": true,
                        "download": true
                    },
                    "group": null,
                    "signature": null,
                    "address": null,
                    "data": null,
                    "name": "",
                    "specialTypes": [],
                    "firstName": "PRcoRate Demo",
                    "lastName": "Inc.",
                    "email": "[email protected]",
                    "id": "Dealer"
                }
            ],
            "name": "Dealer",
            "id": "Dealer"
        }
    ],
    "documents": [
        {
            "approvals": [
                {
                    "role": "Customer",
                    "fields": [
                        {
                            "type": "INPUT",
                            "extract": true,
                            "subtype": "LABEL",
                            "required": true,
                            "binding": "{approval.signed}",
                            "name": "BuyerSignDate"
                        },
                        {
                            "type": "INPUT",
                            "extract": true,
                            "subtype": "LABEL",
                            "required": true,
                            "binding": "{approval.signed}",
                            "name": "CoBuyerSignDate"
                        },
                        {
                            "type": "SIGNATURE",
                            "extract": true,
                            "subtype": "FULLNAME",
                            "required": true,
                            "name": "vtBuyerSig"
                        },
                        {
                            "type": "SIGNATURE",
                            "extract": true,
                            "subtype": "FULLNAME",
                            "required": true,
                            "name": "vtCoBuyerSig"
                        }
                    ]
                },
                {
                    "role": "Dealer",
                    "fields": [
                        {
                            "type": "INPUT",
                            "extract": true,
                            "subtype": "LABEL",
                            "required": true,
                            "binding": "{approval.signed}",
                            "name": "SellerSignDate"
                        },
                        {
                            "type": "SIGNATURE",
                            "extract": true,
                            "subtype": "FULLNAME",
                            "required": true,
                            "name": "vtSellerSig"
                        }
                    ]
                }
            ],
            "extract": true,
            "name": "California GAP Contract"
        },
        {
            "approvals": [
                {
                    "role": "Customer",
                    "fields": [
                        {
                            "type": "INPUT",
                            "extract": true,
                            "subtype": "LABEL",
                            "required": true,
                            "binding": "{approval.signed}",
                            "name": "BuyerSignDate"
                        },
                        {
                            "type": "INPUT",
                            "extract": true,
                            "subtype": "LABEL",
                            "required": true,
                            "binding": "{approval.signed}",
                            "name": "CoBuyerSignDate"
                        },
                        {
                            "type": "SIGNATURE",
                            "extract": true,
                            "subtype": "FULLNAME",
                            "required": true,
                            "name": "vtBuyerSig"
                        },
                        {
                            "type": "SIGNATURE",
                            "extract": true,
                            "subtype": "FULLNAME",
                            "required": true,
                            "name": "vtCoBuyerSig"
                        }
                    ]
                },
                {
                    "role": "Dealer",
                    "fields": [
                        {
                            "type": "INPUT",
                            "extract": true,
                            "subtype": "LABEL",
                            "required": true,
                            "binding": "{approval.signed}",
                            "name": "SellerSignDate"
                        },
                        {
                            "type": "SIGNATURE",
                            "extract": true,
                            "subtype": "FULLNAME",
                            "required": true,
                            "name": "vtSellerSig"
                        }
                    ]
                }
            ],
            "extract": true,
            "name": "California, Idaho, Washington GAP Contract"
        }
    ],
    "name": "GAP Contract for 08/29/2016",
    "description": "GAP Contract for 08/29/2016"
}
Any useful insight is very welcome. I know you have some other comments out for me to digest, but I had not seen this kind of issue until I used this document.

Approved Answer
trevorewen | Posts: 43

Reply to: Unexpected Error

0 votes
Just wanted to close this loop. I was creating a corrupted PDF in generation. Once I fixed that it was smooth sailing. Thanks for your help.

mwilliams | Posts: 957

Reply to: Unexpected Error

0 votes
Your JSON payload worked for me with my own documents. Can you provide the documents you're using and your code? You can send to [email protected].

trevorewen | Posts: 43

Reply to: Unexpected Error

0 votes
Did not realize my file upload failed. Sure thing , just sent.

mwilliams | Posts: 957

Reply to: Unexpected Error

0 votes
Thanks. I am taking a look at it, now. I will let you know what I find.

mwilliams | Posts: 957

Reply to: Unexpected Error

0 votes
I'm still having no errors, though, not all of the signatures are extracting. You're using the same document for both documents when you test?

mwilliams | Posts: 957

Reply to: Unexpected Error

0 votes
When I posted last, I had already changed the JSON a bit to try to get all signatures to work (Co-Buyer), but it still wasn't working. I just noticed that the name in the JSON and the name in the document are slightly different. One has a captital O in vtCOBuyerSig. I still don't see why the date fields are not showing, but I haven't had a single error yet. What is the application language you're using REST in?

trevorewen | Posts: 43

Reply to: Unexpected Error

0 votes
The application is node js.

trevorewen | Posts: 43

Reply to: Unexpected Error

0 votes
mwilliams, I will try making sure those names are correct in the next few days as I work on this.

mwilliams | Posts: 957

Reply to: Unexpected Error

0 votes
Okay. Let me know what you see. If you're still having issues, I'll set up a simple Node JS app to test in. :)

mwilliams | Posts: 957

Reply to: Unexpected Error

0 votes
Great! Thanks for the update!

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off