Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
This error gives me when I activate the module of social_push_notifications and try to register the worker, if someone could help me. Could it be that I have the wrong configuration?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
Uncaught (in promise) DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
at O (http://localhost:8069/social_push_notifications/static/src/js/firebase-messaging-6.3.4.js:1:12676)
at te.usePublicVapidKey (http://localhost:8069/social_push_notifications/static/src/js/firebase-messaging-6.3.4.js:1:29655)
at http://localhost:8069/social_push_notifications/static/src/js/push_notification_widget.js:99:27
O @ firebase-messaging-6.3.4.js:1
te.usePublicVapidKey @ firebase-messaging-6.3.4.js:1
(anonymous) @ push_notification_widget.js:99
Promise.then (async)
_registerServiceWorker @ push_notification_widget.js:97
(anonymous) @ push_notification_widget.js:29
Promise.then (async)
start @ push_notification_widget.js:28
prototype.<computed> @ class.js:90
(anonymous) @ widget.js:207
Promise.then (async)
attachTo @ widget.js:206
(anonymous) @ public_root.js:208
_.map._.collect @ underscore.js:164
(anonymous) @ public_root.js:205
_.map._.collect @ underscore.js:164
_startWidgets @ public_root.js:201
start @ public_root.js:78
prototype.<computed> @ class.js:90
start @ website_root.js:46
prototype.<computed> @ class.js:90
(anonymous) @ widget.js:207
Promise.then (async)
attachTo @ widget.js:206
(anonymous) @ website_root_instance.js:9
Promise.then (async)
(anonymous) @ website_root_instance.js:8
(anonymous) @ boot.js:260
processJob @ boot.js:258
odoo.processJobs @ boot.js:316
(anonymous) @ boot.js:271
Promise.then (async)
(anonymous) @ boot.js:267
processJob @ boot.js:258
odoo.processJobs @ boot.js:316
odoo.define @ boot.js:154
(anonymous) @ website_root.js:1
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden
can you provide full traceback