# The resource was blocked due to MIME type

**URL:** <https://devforum.zoom.us/t/the-resource-was-blocked-due-to-mime-type/55794>\
**Category:** Web\
**Tags:** webinar\
**Created:** [August 14, 2021, 9:48am UTC](https://devforum.zoom.us/t/the-resource-was-blocked-due-to-mime-type/55794 "2021-08-14T09:48:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cosmasmusis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cosmasmusis/32/28200_2.png) [@cosmasmusis](https://devforum.zoom.us/u/cosmasmusis)\
**Post date:** [August 14, 2021, 9:48am UTC](https://devforum.zoom.us/t/the-resource-was-blocked-due-to-mime-type/55794/1 "2021-08-14T09:48:59Z")

</div>

**Description**  
I encountered a blank screen when trying to Init meeting via a function called by a button. On pressing the button, I get a blank screen and the error as displayed in the browser console below:

**Error**  
The resource from “[http://localhost:8080/node\_modules/@zoomus/websdk/dist/lib/av/1508\_js\_media.min.js”](http://localhost:8080/node_modules/@zoomus/websdk/dist/lib/av/1508_js_media.min.js%E2%80%9D) was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

**Which Web Meeting SDK version?**  
@zoomus/websdk: ^1.9.7,

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

1. I loaded all the information into the SDK, including the API Key and Secret
2. Set a function to Initiate the meeting and a button to call the function once pressed.
3. When pressed, the meeting is supposed to initiate, but I get a blank screen, and the console says, “The resource from “[http://localhost:8080/node\_modules/@zoomus/websdk/dist/lib/av/1508\_js\_media.min.js”](http://localhost:8080/node_modules/@zoomus/websdk/dist/lib/av/1508_js_media.min.js%E2%80%9D) was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).”

**Screenshots**

 ![Screenshot (83)](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/9/39aa55f3adf021f6cc896fa6de4e9c9391b32fb1.png)

**Device:**  
-HP Envy M4

- Windows 10
- Browser: Firefox
- Browser Version 91.0

**Additional context**  
If I provided insufficient information, please tell me what you would like me to clarify more on. I am in dire need of your assistance.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [August 18, 2021, 12:29am UTC](https://devforum.zoom.us/t/the-resource-was-blocked-due-to-mime-type/55794/2 "2021-08-18T00:29:37Z")

</div>

Hey @cosmasmusis,

Thank you for reaching out to the Zoom Developer Forum. Are you seeing this when testing with the [Sample Web App](https://github.com/zoom/sample-app-web) as well? It seems there is a server configuration issue where the dependencies are getting loaded with an HTML MIME type. This could be due to a development server misconfiguration or by loading in dependencies with the wrong resource type.

Are you able to share how you are loading in dependencies?

Thanks,  
Max

---

<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:** [September 17, 2021, 10:30am UTC](https://devforum.zoom.us/t/the-resource-was-blocked-due-to-mime-type/55794/3 "2021-09-17T10:30:28Z")

</div>

Closed on September 17, 2021, 10:30am UTC

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