# View PDF file stored in Bubble

**URL:** <https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272>\
**Category:** Need help\
**Created:** [April 7, 2017, 5:47pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272 "2017-04-07T17:47:20Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robert/32/149181_2.png) [@robert](https://forum.bubble.io/u/robert)\
**Post date:** [April 7, 2017, 5:47pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/1 "2017-04-07T17:47:20Z")

</div>

I have read all the posts and tried every “solution” to no avail. I simply want to view a pdf stored in Bubble (s3). This can’t be that hard, right?

---

<div class="post-metadata">

**Author:** ![robert](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robert/32/149181_2.png) [@robert](https://forum.bubble.io/u/robert)\
**Post date:** [April 7, 2017, 5:49pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/2 "2017-04-07T17:49:00Z")

</div>

![](https://us1.discourse-cdn.com/bubble/original/2X/f/f423642e75cb069cb37760306eda01ffcb64ad0e.png)

---

<div class="post-metadata">

**Author:** ![robert](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robert/32/149181_2.png) [@robert](https://forum.bubble.io/u/robert)\
**Post date:** [April 7, 2017, 5:58pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/3 "2017-04-07T17:58:22Z")

</div>

added after File, but none worked

'sURL  
'sFileName  
:Saved to S3  
:Saved to S3’sURL

also tried adding after “url=” the following:  
http:  
https:  
https:// - with this one at least I got to “no preview available” rather than an error…is this progress?

---

<div class="post-metadata">

**Author:** ![daniel3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/daniel3/32/14049_2.png) [@daniel3](https://forum.bubble.io/u/daniel3)\
**Post date:** [April 7, 2017, 6:14pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/4 "2017-04-07T18:14:22Z")

</div>

This works for me, at least in Chrome:

![](https://us1.discourse-cdn.com/bubble/original/2X/d/de79fa3dbee4742d85746fec1e0c1cffc5863048.png)

---

<div class="post-metadata">

**Author:** ![robert](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robert/32/149181_2.png) [@robert](https://forum.bubble.io/u/robert)\
**Post date:** [April 7, 2017, 6:19pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/5 "2017-04-07T18:19:04Z")

</div>

I get a Google 500 error

---

<div class="post-metadata">

**Author:** ![daniel3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/daniel3/32/14049_2.png) [@daniel3](https://forum.bubble.io/u/daniel3)\
**Post date:** [April 7, 2017, 6:20pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/6 "2017-04-07T18:20:59Z")

</div>

in run mode, or just in edit mode? I get a 500 in edit mode as well, try previewing the page.

---

<div class="post-metadata">

**Author:** ![robert](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robert/32/149181_2.png) [@robert](https://forum.bubble.io/u/robert)\
**Post date:** [April 7, 2017, 6:23pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/7 "2017-04-07T18:23:12Z")

</div>

yes in preview

---

<div class="post-metadata">

**Author:** ![robert](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robert/32/149181_2.png) [@robert](https://forum.bubble.io/u/robert)\
**Post date:** [April 7, 2017, 6:24pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/8 "2017-04-07T18:24:51Z")

</div>

![](https://us1.discourse-cdn.com/bubble/original/2X/8/8576842235aeb4cd60ff418ebfa0d9eda0a80722.png)

---

<div class="post-metadata">

**Author:** ![robert](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robert/32/149181_2.png) [@robert](https://forum.bubble.io/u/robert)\
**Post date:** [April 7, 2017, 6:25pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/9 "2017-04-07T18:25:45Z")

</div>

![](https://us1.discourse-cdn.com/bubble/original/2X/e/e89591eab6e672d70d0aa8ad894232bc35cccbf1.png)

---

<div class="post-metadata">

**Author:** ![robert](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robert/32/149181_2.png) [@robert](https://forum.bubble.io/u/robert)\
**Post date:** [April 7, 2017, 6:27pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/10 "2017-04-07T18:27:46Z")

</div>

@romanmg

---

<div class="post-metadata">

**Author:** ![daniel3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/daniel3/32/14049_2.png) [@daniel3](https://forum.bubble.io/u/daniel3)\
**Post date:** [April 7, 2017, 6:28pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/11 "2017-04-07T18:28:45Z")

</div>

Shot in the dark, but try adding a space after allowfullscreen prior to the closing bracket.

---

<div class="post-metadata">

**Author:** ![robert](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robert/32/149181_2.png) [@robert](https://forum.bubble.io/u/robert)\
**Post date:** [April 7, 2017, 6:32pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/12 "2017-04-07T18:32:30Z")

</div>

that didn’t work…but

---

<div class="post-metadata">

**Author:** ![robert](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robert/32/149181_2.png) [@robert](https://forum.bubble.io/u/robert)\
**Post date:** [April 7, 2017, 6:33pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/13 "2017-04-07T18:33:20Z")

</div>

in the debugger it looks like it is appending 2 slashes “//” in front of the URL that shouldn’t be there

---

<div class="post-metadata">

**Author:** ![daniel3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/daniel3/32/14049_2.png) [@daniel3](https://forum.bubble.io/u/daniel3)\
**Post date:** [April 7, 2017, 6:35pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/14 "2017-04-07T18:35:31Z")

</div>

Is your site using SSL? I should’ve led with that (my site’s on https://). Only other thought is if you’re running plain http you could be hitting CORS or cross-site-origin issue with Google. Beyond that, afraid I’m out of bright ideas. 🙂

---

<div class="post-metadata">

**Author:** ![robert](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robert/32/149181_2.png) [@robert](https://forum.bubble.io/u/robert)\
**Post date:** [April 7, 2017, 6:38pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/15 "2017-04-07T18:38:10Z")

</div>

yes it is but the S3 link is: [http://s3.amazonaws.com/appforest\_uf/f](http://s3.amazonaws.com/appforest_uf/f)…

Would that cause the problem?

---

<div class="post-metadata">

**Author:** ![daniel3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/daniel3/32/14049_2.png) [@daniel3](https://forum.bubble.io/u/daniel3)\
**Post date:** [April 7, 2017, 6:40pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/16 "2017-04-07T18:40:49Z")

</div>

what happens when you hit the full link in a new tab in your browser outside Bubble? It should download the file or show a preview (depending on your browser). Try the full link with both http and https:

---

<div class="post-metadata">

**Author:** ![robert](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robert/32/149181_2.png) [@robert](https://forum.bubble.io/u/robert)\
**Post date:** [April 7, 2017, 6:41pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/17 "2017-04-07T18:41:19Z")

</div>

can see it in both https and http

---

<div class="post-metadata">

**Author:** ![daniel3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/daniel3/32/14049_2.png) [@daniel3](https://forum.bubble.io/u/daniel3)\
**Post date:** [April 7, 2017, 6:43pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/18 "2017-04-07T18:43:21Z")

</div>

hmmm. i think you need others to weigh in here. Saw you pinged roman…

---

<div class="post-metadata">

**Author:** ![robert](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robert/32/149181_2.png) [@robert](https://forum.bubble.io/u/robert)\
**Post date:** [April 7, 2017, 6:44pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/19 "2017-04-07T18:44:12Z")

</div>

she built most of it, so I hope she knows

---

<div class="post-metadata">

**Author:** ![romanmg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/romanmg/32/237672_2.png) [@romanmg](https://forum.bubble.io/u/romanmg)\
**Post date:** [April 7, 2017, 6:52pm UTC](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272/20 "2017-04-07T18:52:22Z")

</div>

@robert I’m coming… hang tight !

[Next page](https://forum.bubble.io/t/view-pdf-file-stored-in-bubble/12272.md?page=2)
