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
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký
can you provide full traceback