You might be need to set content security policy headers for your site. Generating manually may some time lead to error.
- Check out this site https://report-uri.com/home/generate to generate content security policy.
- Select a list of policy from left panel
- Click Generate.
- Policy will be generated