Title: Service worker security error
Last modified: January 28, 2020

---

# Service worker security error

 *  [squibs](https://wordpress.org/support/users/squibs/)
 * (@squibs)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/service-worker-security-error/)
 * Hi,
 * I’m seeing security errors in the console for the service workers. The paths 
   look weird
 *     ```
       The path of the provided scope ('/') is not under the max scope allowed ('/sdk_files/https://mysite.com/'). Adjust the scope, move the Service Worker script, or use the Service-Worker-Allowed HTTP header to allow the scope.
       tslib.es6.js:63 Uncaught (in promise) DOMException: Failed to register a ServiceWorker for scope ('https://mysite.com/') with script ('https://mysite.com/sdk_files/https://mysite.com/?wp_service_worker=1?appId=6ee26051-fa73-4e74-a1c0-470897367eb6'): The path of the provided scope ('/') is not under the max scope allowed ('/sdk_files/https://mysite.com/'). Adjust the scope, move the Service Worker script, or use the Service-Worker-Allowed HTTP header to allow the scope.
       ```
   
 * Any ideas what might be up?
    -  This topic was modified 6 years, 6 months ago by [squibs](https://wordpress.org/support/users/squibs/).
    -  This topic was modified 6 years, 6 months ago by [squibs](https://wordpress.org/support/users/squibs/).
    -  This topic was modified 6 years, 6 months ago by [squibs](https://wordpress.org/support/users/squibs/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Nico Martin](https://wordpress.org/support/users/nico_martin/)
 * (@nico_martin)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/service-worker-security-error/#post-12510557)
 * Hi [@squibs](https://wordpress.org/support/users/squibs/),
 * Whta’s the URL of your site?
 * Kind regards,
    Nico

Viewing 1 replies (of 1 total)

The topic ‘Service worker security error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/progressive-wp_8bd9c3.svg)
 * [Progressive WordPress (PWA)](https://wordpress.org/plugins/progressive-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/progressive-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/progressive-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/progressive-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/progressive-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/progressive-wp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Nico Martin](https://wordpress.org/support/users/nico_martin/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/service-worker-security-error/#post-12510557)
 * Status: not resolved