Refused to connect to cause it violates the Content Security Policy

Refused to connect to ‘’ because it violates the following Content Security Policy directive: "connect-src ‘self’

Data source: google drive has been working fine when previewed but once it is in a vf page or lightning page then the error generates. 

I know it is a less then ideally formed question, that said…

Any ideas? thanks!

Hey Arne, you need to add the Google APIs domain as a CSP Trusted Site in Salesforce Setup. Make sure the domain is enabled for “connect-src”. Domain should be

thanks zach. I thought I did that! Doing it now. Will report back. Happy Sunday

finally closed the loop. Lightning definitely makes it interesting