# Failed to construct 'Notification': Illegal constructor

**URL:** <https://meta.discourse.org/t/failed-to-construct-notification-illegal-constructor/106450>\
**Category:** Product Support\
**Created:** [13 בינואר,‏ 2019,‏ 10:08pm UTC](https://meta.discourse.org/t/failed-to-construct-notification-illegal-constructor/106450 "2019-01-13T22:08:51Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![WorldIsMine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/worldismine/32/455660_2.png) [@WorldIsMine](https://meta.discourse.org/u/WorldIsMine)\
**Post date:** [27 במרץ,‏ 2019,‏ 9:00am UTC](https://meta.discourse.org/t/failed-to-construct-notification-illegal-constructor/106450/10 "2019-03-27T09:00:02Z")

</div>

Getting the same problem on my instance. Sometimes 30-40 times per day.

```
TypeError: Failed to construct 'Notification': Illegal constructor. Use ServiceWorkerRegistration.showNotification() instead.
    at https://swapd.co/assets/application-a9a1b96b84ba77c33f26b7f4974eff035fd81fee0da6503e09f7e84e2d2a6b53.js:12:16333
    at h (https://swapd.co/assets/ember_jquery-cf9339810550f9c92505dfbb37362c58a4a8a83bcee2d99174547b01c06ed7d3.js:18:1869)
    at C (https://swapd.co/assets/ember_jquery-cf9339810550f9c92505dfbb37362c58a4a8a83bcee2d99174547b01c06ed7d3.js:18:3255)
    at https://swapd.co/assets/ember_jquery-cf9339810550f9c92505dfbb37362c58a4a8a83bcee2d99174547b01c06ed7d3.js:18:3745
    at e.invoke (https://swapd.co/assets/ember_jquery-cf9339810550f9c92505dfbb37362c58a4a8a83bcee2d99174547b01c06ed7d3.js:9:11634)
    at e.flush (https://swapd.co/assets/ember_jquery-cf9339810550f9c92505dfbb37362c58a4a8a83bcee2d99174547b01c06ed7d3.js:9:10577)
    at e.flush (https://swapd.co/assets/ember_jquery-cf9339810550f9c92505dfbb37362c58a4a8a83bcee2d99174547b01c06ed7d3.js:9:12677)
    at e._end (https://swapd.co/assets/ember_jquery-cf9339810550f9c92505dfbb37362c58a4a8a83bcee2d99174547b01c06ed7d3.js:9:17457)
    at MutationObserver._boundAutorunEnd (https://swapd.co/assets/ember_jquery-cf9339810550f9c92505dfbb37362c58a4a8a83bcee2d99174547b01c06ed7d3.js:9:13591)

```

---

_[View the full topic](https://meta.discourse.org/t/failed-to-construct-notification-illegal-constructor/106450)._
