# Undefined is not a valid destination type

**URL:** https://pdfjs.community/t/undefined-is-not-a-valid-destination-type/809
**Category:** Technical Support
**Created:** [June 7, 2021, 9:41am UTC](https://pdfjs.community/t/undefined-is-not-a-valid-destination-type/809 "2021-06-07T09:41:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![himani.sharma](https://avatars.discourse-cdn.com/v4/letter/h/e47774/32.png) [@himani.sharma](https://pdfjs.community/u/himani.sharma)
#### Post date: [June 7, 2021, 9:41am UTC](https://pdfjs.community/t/undefined-is-not-a-valid-destination-type/809/1 "2021-06-07T09:41:19Z")

</div>

**PDF.js Express Version**

**Detailed description of issue**  
{Hello, on uploading a pdf url , pdf js express viewer throwing this error. What does this mean ? }

**Expected behaviour**  
{Provide a screenshot or description of the expected behaviour}

**Does your issue happen with every document, or just one?**  
{Answer here}

**Link to document**  
{[https://www.finelite.com/sites/default/files/2020-09/FL\_HP\_WS\_TS.pdf](https://www.finelite.com/sites/default/files/2020-09/FL_HP_WS_TS.pdf)}

**Code snippet**  
{Provide a relevant code snippet}

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)
#### Post date: [June 7, 2021, 9:41am UTC](https://pdfjs.community/t/undefined-is-not-a-valid-destination-type/809/2 "2021-06-07T09:41:22Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Understand coordinates in PDF.js Express](https://pdfjs.express/documentation/viewer/coordinates)
- [Select an integration or framework to get started with PDF.js Express - Frameworks](https://pdfjs.express/documentation/get-started#frameworks)
- [Adding your license key - Development](https://pdfjs.express/documentation/get-started/add-license-key#development)

APIs:
- [ExpressUtils(optionsopt) - # async extract() → {Promise.}](https://pdfjs.express/api/utils/ExpressUtils.html#extract__anchor)
- [Annotations.Forms.EmbeddedJS](https://pdfjs.express/api/Annotations.Forms.EmbeddedJS.html#__anchor)
- [Actions~Dest](https://pdfjs.express/api/Actions.Dest.html#__anchor)

Forums:
- [TypeError: Cannot read property ‘nativeElement’ of undefined](https://pdfjs.community/t/typeerror-cannot-read-property-nativeelement-of-undefined/329/1)
- [How to load different pdf on pdfjs express viewer on passing url through button click](https://pdfjs.community/t/how-to-load-different-pdf-on-pdfjs-express-viewer-on-passing-url-through-button-click/320/2)
- [Pdf js viewer throwing error on Firefox](https://pdfjs.community/t/pdf-js-viewer-throwing-error-on-firefox/429/1)

---

<div class="post-metadata">

### Author: ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)
#### Post date: [June 8, 2021, 3:26pm UTC](https://pdfjs.community/t/undefined-is-not-a-valid-destination-type/809/3 "2021-06-08T15:26:52Z")

</div>

Hi there - please fill out the issue template correctly.

Which version of PDF.js Express are you using?
