Skip to content Skip to sidebar Skip to footer

Domexception: Registration Failed - Permission Denied

I have a web notification script which works fine. However when i was testing in chrome version 43, I get the error 'DOMException: Registration failed - permission denied'. This er

Solution 1:

I've encountered this problem. in addition to prajnavantha answers, this may be caused by accidentally clicking the browser notification when it block it or not. To fix this in Chrome, go to Settings->click 'Show Advanced Settings'->Under 'Privacy' click 'Content Settings'->Then under 'Notifications' select 'Manage Excpetions'. Once you're in here, allow the notification for the URL affected.

Solution 2:

I've faced a similar problem. You are particularly looking at chrome version 43.

  1. Check your manifest.json. Since you have already told that it works for a higher version, I assume that you have missed something in the manifest. In this link, Matt Gaunt suggests that this error can occur if there is a problem with the manifest.

  2. Make sure that there is no trailing comma at the end.

  3. Also, version 43 doesn't support data attribute in the notification object and doesn't allow opening a window on click on the notification, so you need to take care of these issues too.

Solution 3:

You may also have configured chrome to block all notifications. Go to chrome://settings/content/notifications and make sure the slider is slid.

Solution 4:

Image 1

Image 2

Todo 2 image above will solve your problem.

Post a Comment for "Domexception: Registration Failed - Permission Denied"