# Kibana not loading due to unsafe script

**URL:** <https://discuss.elastic.co/t/kibana-not-loading-due-to-unsafe-script/295025>\
**Category:** Kibana\
**Created:** [January 21, 2022, 7:50am UTC](https://discuss.elastic.co/t/kibana-not-loading-due-to-unsafe-script/295025 "2022-01-21T07:50:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkaramol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pkaramol/32/22610_2.png) [@pkaramol](https://discuss.elastic.co/u/pkaramol)\
**Post date:** [January 21, 2022, 7:50am UTC](https://discuss.elastic.co/t/kibana-not-loading-due-to-unsafe-script/295025/1 "2022-01-21T07:50:25Z")

</div>

I have upgraded my elastic / kibana stack from `7.12.1` to `7.16.2`

Unfortunately and despite the fact that `elasticsearch` is now healthy, `kibana` is not loading due to a `js` error:

```auto
login:1 Refused to execute script from 'https://my-kibana.com/login?next=%2F39457%2Fbundles%2Fplugin%2Fdata%2Fdata.plugin.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

```

[![enter image description here](https://i.stack.imgur.com/AeFoz.png)](https://i.stack.imgur.com/AeFoz.png)

(there are other errors like this as well)

Any suggestions?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 18, 2022, 7:50am UTC](https://discuss.elastic.co/t/kibana-not-loading-due-to-unsafe-script/295025/2 "2022-02-18T07:50:58Z")

</div>

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