# Google docs onebox gem requires a "published" document

**URL:** <https://meta.discourse.org/t/google-docs-onebox-gem-requires-a-published-document/33649>\
**Category:** Product Support\
**Created:** [September 23, 2015, 4:42pm UTC](https://meta.discourse.org/t/google-docs-onebox-gem-requires-a-published-document/33649 "2015-09-23T16:42:23Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)\
**Post date:** [September 23, 2015, 4:42pm UTC](https://meta.discourse.org/t/google-docs-onebox-gem-requires-a-published-document/33649/1 "2015-09-23T16:42:23Z")

</div>

Embedding a Google document via the onebox gem seems to be broken. All that displays is a blank placeholder. When trying new posts, I get the following error in the console:

> Load denied by X-Frame-Options: (Google Doc URL) does not permit cross-origin framing.

I’ll paste the URL of a sample document, [https://docs.google.com/document/d/1IQGdx-1X-E\_W3O5PSiV9RF1hhjI5hryWZF9FFYNv4Oc/edit?usp=sharing](https://docs.google.com/document/d/1IQGdx-1X-E_W3O5PSiV9RF1hhjI5hryWZF9FFYNv4Oc/edit?usp=sharing), in a line by itself here:

[https://docs.google.com/document/d/1IQGdx-1X-E\_W3O5PSiV9RF1hhjI5hryWZF9FFYNv4Oc/edit?usp=sharing](https://docs.google.com/document/d/1IQGdx-1X-E_W3O5PSiV9RF1hhjI5hryWZF9FFYNv4Oc/edit?usp=sharing)

---

_[View the full topic](https://meta.discourse.org/t/google-docs-onebox-gem-requires-a-published-document/33649)._
