# Qiime2 View in iFrame gives 'page not found error

**URL:** https://forum.qiime2.org/t/qiime2-view-in-iframe-gives-page-not-found-error/3780
**Category:** User Support
**Tags:** q2view
**Created:** [April 14, 2018, 12:22pm UTC](https://forum.qiime2.org/t/qiime2-view-in-iframe-gives-page-not-found-error/3780 "2018-04-14T12:22:59Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![adswafford](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/839c29/32.png) [@adswafford](https://forum.qiime2.org/u/adswafford)
#### Post date: [April 14, 2018, 12:23pm UTC](https://forum.qiime2.org/t/qiime2-view-in-iframe-gives-page-not-found-error/3780/1 "2018-04-14T12:23:00Z")

</div>

Hello @tomasz and I were attempting to display a .qzv in a Jupyter notebook using an IFrame and the following code snippet:

import IPython  
url = '[https://view.qiime2.org/visualization/?type=html&src=https%3A%2F%2Fdl.dropbox.com%2Fs%2Fgs7yjssl5xk0xb5%2Fmerged\_kraken\_phylum\_table.qzv%3Fdl%3D1](https://view.qiime2.org/visualization/?type=html&src=https%3A%2F%2Fdl.dropbox.com%2Fs%2Fgs7yjssl5xk0xb5%2Fmerged_kraken_phylum_table.qzv%3Fdl%3D1)'  
iframe = ''  
IPython.display.HTML(iframe)

Running this in an active Jupyter notebook works great, but when we saved the notebook as an html file (target audience is non-technical) and opened in in Chrome to verify performance we got an odd message that the "Page was not found".

The qzv is definitely recognized and the hyperlinks are good because we can view provenance and peek, but the actual visualization does not display anything other than the Qiime2View logo and menus at the top and the error message.

Anyone run into this before and/or know of a workaround?

---

<div class="post-metadata">

### Author: ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)
#### Post date: [April 16, 2018, 1:11pm UTC](https://forum.qiime2.org/t/qiime2-view-in-iframe-gives-page-not-found-error/3780/2 "2018-04-16T13:11:18Z")

</div>



---

<div class="post-metadata">

### Author: ![ebolyen](https://forum.qiime2.org/user_avatar/forum.qiime2.org/ebolyen/32/11_2.png) [@ebolyen](https://forum.qiime2.org/u/ebolyen)
#### Post date: [April 17, 2018, 3:25pm UTC](https://forum.qiime2.org/t/qiime2-view-in-iframe-gives-page-not-found-error/3780/6 "2018-04-17T15:25:59Z")

</div>

Hi @adswafford,

This sounds pretty strange.

> [@adswafford](#):
>
> The qzv is definitely recognized and the hyperlinks are good because we can view provenance and peek, but the actual visualization does not display anything other than the Qiime2View logo and menus at the top and the error message.

Is this within the Jupyter iframe? So q2view loads, is rendered and can read the file (showing provenance/peek), but the q2view iframe is somehow not getting it's data from the service worker.

Could you describe more where the notebook is being viewed from? Is it a running server, nbviewer, github, another service?

Also, if you are familiar with web-debugging, does the network dev-tool in your browser show anything interesting when this fails?

---

<div class="post-metadata">

### Author: ![ebolyen](https://forum.qiime2.org/user_avatar/forum.qiime2.org/ebolyen/32/11_2.png) [@ebolyen](https://forum.qiime2.org/u/ebolyen)
#### Post date: [April 17, 2018, 3:26pm UTC](https://forum.qiime2.org/t/qiime2-view-in-iframe-gives-page-not-found-error/3780/7 "2018-04-17T15:26:16Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)
#### Post date: [May 18, 2018, 9:26pm UTC](https://forum.qiime2.org/t/qiime2-view-in-iframe-gives-page-not-found-error/3780/8 "2018-05-18T21:26:17Z")

</div>

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
