# Failed to register Service Worker: Security Error because of redirect

**URL:** <https://meta.discourse.org/t/failed-to-register-service-worker-security-error-because-of-redirect/191832>\
**Category:** Product Support\
**Created:** [May 27, 2021, 5:23pm UTC](https://meta.discourse.org/t/failed-to-register-service-worker-security-error-because-of-redirect/191832 "2021-05-27T17:23:22Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Terrapop](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Terrapop](https://meta.discourse.org/u/Terrapop)\
**Post date:** [May 27, 2021, 5:28pm UTC](https://meta.discourse.org/t/failed-to-register-service-worker-security-error-because-of-redirect/191832/5 "2021-05-27T17:28:46Z")

</div>

200 for the service worker.js

but strangely a

403 for the script that loads it.

Will report back, once the app is rebuilt once again.

---

_[View the full topic](https://meta.discourse.org/t/failed-to-register-service-worker-security-error-because-of-redirect/191832)._
