Vercel App Cannot Deploy

Hey there, I am trying to deploy my application to production on Vercel. The app runs fine on Vercel Dev but is unable to work on production. There is 2 specific errors that pop up which does not appear when the app is ran on Vercel Dev (pasted below). Any help on why this is happening and steps to debug would be greatly appreciated!

Refused to load the script 'https://vercel.live/_next-live/feedback/feedback.js' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'script-src-elem' was not explicitly set, so 'default-src' is used as a fallback.
Failed to load resource: the server responded with a status of 404 ()

@bryanongwenxi
It looks like this script is injected by our Preview Comments feature, and if you have CSP enabled, you’ll need to adjust your CSP settings to allow the vercel.live domain to access the feature: Enabling and Disabling Comments

Alternatively, you can simply disable Preview Comments if you aren’t planning to use it: Enabling and Disabling Comments.

Give it a try and let us know if it helps.

1 Like

Hey thanks for the response! I don’t have CSP enabled - tried to adjust it via the link you sent but still face the same errors!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.