# Uncaught (in promise) TypeError : Failed to execute 'exitFullScreen' on 'Document': Document not active

**URL:** <https://devforum.zoom.us/t/uncaught-in-promise-typeerror-failed-to-execute-exitfullscreen-on-document-document-not-active/34716>\
**Category:** Web\
**Created:** [October 30, 2020, 4:14am UTC](https://devforum.zoom.us/t/uncaught-in-promise-typeerror-failed-to-execute-exitfullscreen-on-document-document-not-active/34716 "2020-10-30T04:14:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [October 30, 2020, 4:14am UTC](https://devforum.zoom.us/t/uncaught-in-promise-typeerror-failed-to-execute-exitfullscreen-on-document-document-not-active/34716/1 "2020-10-30T04:14:51Z")

</div>

**Description**  
When exiting the full screen mode in a meeting, the following javascript error pop up on the console:

**Error**

```
Uncaught (in promise) TypeError : Failed to execute 'exitFullScreen' on 'Document': Document not active

```

**Which version?**  
1.8.1

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Join a meeting on zoom sample application
2. Enter fullscreen mode, either for the video or screen sharing
3. Exit fullscreen mode by pressing ESC
4. Open you console and see the error

**Screenshots**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/f/3f35df41e8c58281d9f890b76312362b0b069405.png)

**Smartphone (please complete the following information):**

- Device: Any device
- OS: Any OS, this is browser related error
- Browser: Chrome last version

**Additional context**  
You can reproduce it with your sample application  
**By the way, there are plenty javascript error generated by the web SDK, please just try a meeting within your demo application & check the console error logs and fix it because it’s polluting logs for nothing.**

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [November 2, 2020, 9:44pm UTC](https://devforum.zoom.us/t/uncaught-in-promise-typeerror-failed-to-execute-exitfullscreen-on-document-document-not-active/34716/2 "2020-11-02T21:44:18Z")

</div>

Hey @nvivot,

We appreciate you pointing this out to us. 🙂 We will work on fixing this issue. (CS-2483)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [November 10, 2020, 4:48pm UTC](https://devforum.zoom.us/t/uncaught-in-promise-typeerror-failed-to-execute-exitfullscreen-on-document-document-not-active/34716/3 "2020-11-10T16:48:53Z")

</div>

Hey @nvivot,

Good news, this will be fixed in Web SDK version 1.8.2. 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [November 10, 2020, 11:41pm UTC](https://devforum.zoom.us/t/uncaught-in-promise-typeerror-failed-to-execute-exitfullscreen-on-document-document-not-active/34716/4 "2020-11-10T23:41:36Z")

</div>

Hi @tommy,

Thank you for the feedback

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [November 11, 2020, 5:21pm UTC](https://devforum.zoom.us/t/uncaught-in-promise-typeerror-failed-to-execute-exitfullscreen-on-document-document-not-active/34716/5 "2020-11-11T17:21:18Z")

</div>

You are welcome! 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [November 16, 2020, 5:37pm UTC](https://devforum.zoom.us/t/uncaught-in-promise-typeerror-failed-to-execute-exitfullscreen-on-document-document-not-active/34716/6 "2020-11-16T17:37:03Z")

</div>

Hey @nvivot,

This issue is now fixed! 🙂 Please upgrade to [Web SDK version 1.8.3](https://www.npmjs.com/package/@zoomus/websdk).

-Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [December 17, 2020, 3:37am UTC](https://devforum.zoom.us/t/uncaught-in-promise-typeerror-failed-to-execute-exitfullscreen-on-document-document-not-active/34716/7 "2020-12-17T03:37:07Z")

</div>

Closed on December 17, 2020, 3:37am UTC

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