# Importing Fillable PDF to Document returns "undefined" error

**URL:** <https://community.feathery.io/t/importing-fillable-pdf-to-document-returns-undefined-error/1323>\
**Category:** Support\
**Created:** [February 27, 2025, 10:03pm UTC](https://community.feathery.io/t/importing-fillable-pdf-to-document-returns-undefined-error/1323 "2025-02-27T22:03:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![addalineappservices](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@addalineappservices](https://community.feathery.io/u/addalineappservices)\
**Post date:** [February 27, 2025, 10:03pm UTC](https://community.feathery.io/t/importing-fillable-pdf-to-document-returns-undefined-error/1323/1 "2025-02-27T22:03:31Z")

</div>

I have a fillable form that I tidied up to correct some duplicate field names, explicitly naming every field.

Using the Migration tool I was able to import it as a Form.

However, trying to import it as a Document fails with the error: “PDF did not validate - Error: Expected instance of t, but got instance of undefined”

I searched around, but did not find any example of such an error.

Thoughts? Suggestions?

Thanks in advance.

Dion

---

<div class="post-metadata">

**Author:** ![Kenny](https://avatars.discourse-cdn.com/v4/letter/k/90db22/32.png) [@Kenny](https://community.feathery.io/u/Kenny)\
**Post date:** [February 27, 2025, 10:10pm UTC](https://community.feathery.io/t/importing-fillable-pdf-to-document-returns-undefined-error/1323/2 "2025-02-27T22:10:20Z")

</div>

Hi @addalineappservices

Can I ask what do you mean by you importing the document?

---

<div class="post-metadata">

**Author:** ![addalineappservices](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@addalineappservices](https://community.feathery.io/u/addalineappservices)\
**Post date:** [February 28, 2025, 3:34pm UTC](https://community.feathery.io/t/importing-fillable-pdf-to-document-returns-undefined-error/1323/3 "2025-02-28T15:34:17Z")

</div>

Hi Kenny,

Sorry, wrong term. “Create Document” based on a PDF.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/feathery/original/1X/cc9853468c1709c1f67f284403cacc0a08c9705c.png)

---

<div class="post-metadata">

**Author:** ![Kenny](https://avatars.discourse-cdn.com/v4/letter/k/90db22/32.png) [@Kenny](https://community.feathery.io/u/Kenny)\
**Post date:** [February 28, 2025, 6:32pm UTC](https://community.feathery.io/t/importing-fillable-pdf-to-document-returns-undefined-error/1323/4 "2025-02-28T18:32:35Z")

</div>

Can you try to do this again but with your console open? Just to see more details if an error occurs.

---

<div class="post-metadata">

**Author:** ![addalineappservices](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@addalineappservices](https://community.feathery.io/u/addalineappservices)\
**Post date:** [February 28, 2025, 7:07pm UTC](https://community.feathery.io/t/importing-fillable-pdf-to-document-returns-undefined-error/1323/5 "2025-02-28T19:07:49Z")

</div>

Yes, the Console threw a few errors:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/feathery/original/1X/48a0ddcfa19120fdbd113801ce4908700205d8b7.png)

The text of the errors is fairly long. Is it acceptable to save them as LOG files and post them here?

Thanks,

Dion

---

<div class="post-metadata">

**Author:** ![Kenny](https://avatars.discourse-cdn.com/v4/letter/k/90db22/32.png) [@Kenny](https://community.feathery.io/u/Kenny)\
**Post date:** [March 3, 2025, 4:44pm UTC](https://community.feathery.io/t/importing-fillable-pdf-to-document-returns-undefined-error/1323/6 "2025-03-03T16:44:02Z")

</div>

Hi @addalineappservices, I’ve sent you a message since this issue appears to be unique to you. To resolve it, we need to recreate what you experienced. Please reply to that message so we can move forward.

---

<div class="post-metadata">

**Author:** ![addalineappservices](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@addalineappservices](https://community.feathery.io/u/addalineappservices)\
**Post date:** [March 3, 2025, 5:56pm UTC](https://community.feathery.io/t/importing-fillable-pdf-to-document-returns-undefined-error/1323/7 "2025-03-03T17:56:50Z")

</div>

Hi Kenny,

Can I email it directly to you? I’d prefer to keep it out of the general forum, just in case.

Thanks,

Dion
