<!--An error occurred while retrieving token. DOMException: Registration failed - push service error -->
If you are using Brave browser please follow below steps
1. Go to brave://settings/privacy
2. Change the -> Use Google services for push messaging -> To allow (True)
3. Try again by relaunching the browser
4. Thats it