tylerpost | Posts: 4

Documents Not showing up

0 votes
Hi, I'm integrating with the e-sign live api and have had some trouble with certain pdfs causing the signing ceremony to give me a blank page. After the package is created and a url is created the window appears blank. (Even the default-consent document won't show up). Some information to hopefully help narrow it down 1) This only happens with some pdfs, others work fine 2) If I view the package using the portal, and attempt to view the pdf I uploaded (by clicking the eye..) , the blur for the overlay appears, but no pdf. I get this browser console error
Uncaught TypeError: Cannot read property 'signerName' of undefined
    at t.getFieldValue (Spot.jsx:125)
    at t.render (Spot.jsx:205)
    at c._renderValidatedComponentWithoutOwnerOrContext (ReactCompositeComponent.js:587)
3) If I download the package as a zip, the pdf is in there as normal (Even has the Sandbox watermark) 4) Browser console gives me this following error when loading a signing ceremony
Uncaught Error: Could not find a valid role
    at f._role_ (https://sandbox.esignlive.com/javascript/lib/ESL/ESR.min.js?v=1481827852130:3:12261)
    at f (https://sandbox.esignlive.com/javascript/lib/ESL/ESR.min.js?v=1481827852130:3:2683)
Im primarily working with government forms and am hoping you could give me some guidance as how to avoid this? Any certain way I should save the pdf? PDF settings to apply? All the pdf forms are edited and saved using Acrobat Pro. I've attached one of the files thats causing this problem.

Attachments
W8BEN.pdf36.92 KB
mwilliams | Posts: 957

Reply to: Documents Not showing up

0 votes
If you upload using the UI and try to send with a signature, does the same thing happen? Or just when you use the API to load with signatures in one call? Are you using document/field extraction or defining signature and field locations with x,y coordinates? Let me know. I'll also start taking a look with the file you attached.

mwilliams | Posts: 957

Reply to: Documents Not showing up

0 votes
Okay. I just downloaded the PDF. It looks like you are using document extraction for the signature. Are you placing any other fields or just getting this result with the signature field only?

tylerpost | Posts: 4

Reply to: Documents Not showing up

0 votes
Same error, same problem when uploading through the UI. I'm using field extraction, theres a single signature in the document labeled by [AccountHolder1.Fullname1]. edit: No extra fields are being added with coordinates, just the one signature

mwilliams | Posts: 957

Reply to: Documents Not showing up

0 votes
Just attempted to load using the UI. It broke on me with the "[AccountHolder1.Fullname1]" from the UI as the AccountHolder1 role doesn't exist, so there was an error. If I changed this form name in the document to "[Signer1.Fullname1]" before uploading to the UI, I had no issues seeing this document in my signing ceremony (from phone/mobile ceremony or from desktop ceremony). I have yet to try with the REST API, but I thought I'd update you. Are you creating the package with binaries all in one single call? Could you send me the payload you're using? Also, what is the difference between PDFs that are working and those that are not? Anything obvious? Could you pass me a PDF that works as expected? Thanks!

tylerpost | Posts: 4

Reply to: Documents Not showing up

0 votes
Crisis averted. Thanks, it was infact something to do with the roles, not the pdf.

mwilliams | Posts: 957

Reply to: Documents Not showing up

0 votes
Awesome! Always glad to help! Let us know whenever you have issues! :)

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