# Facebook One Box Error

**URL:** https://meta.discourse.org/t/facebook-one-box-error/173008
**Category:** Bug
**Created:** [December 11, 2020, 4:27pm UTC](https://meta.discourse.org/t/facebook-one-box-error/173008 "2020-12-11T16:27:37Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [March 1, 2021, 7:52am UTC](https://meta.discourse.org/t/facebook-one-box-error/173008/6 "2021-03-01T07:52:28Z")

</div>

> [@PoojaPatel](#):
>
> Failed to set the ‘domain’ property on ‘Document’: Assignment is forbidden for sandboxed iframes. [Caught in: Module “lowerDomain”]

This error is coming from Facebook API because we are loading the video in a [sandbox iframe](https://www.w3schools.com/tags/att_iframe_sandbox.asp) for security reasons.

As I can [see here](https://meta.discourse.org/t/video-embeds-from-facebook-com-and-other-sites-fail/149366/27) the video works fine even with the error from Facebook so it’s not blocking the feature? The alternate here would be to not onebox the video at all which seems even worse.

---

_[View the full topic](https://meta.discourse.org/t/facebook-one-box-error/173008)._
