Skip to main content

Problem

When the user tries to get web opt-in, the following error message is displayed on the browser’s console: https://www.moengage.com/img/icon-web-push.png because it violates the following Content Security Policy directive: “img-src assets.adobedtm.com amcglobal.sc.omtrdc.net”. 1.png

Solution

Perform the following steps:
The issue occurs with the uploaded image icon for web opt-in.
  1. Ensure that you have the required access for the image uploaded.
  2. Whitelist the URL <https://image.moengage.com/> under the image-src directive in the Content Security Policy (CSP) on the customer’s end. For more information, refer to Whitelisting URLs.