Forum Discussion
LasseL
Helper I
3 years agoGetting Refused to connect to X because it violates the following Content Security Policy directive
Dear community, On a custom visual I am trying use a http post request by fetch to a logic app endpoint, and getting following error from the Console: Refused to connect to 'https://xxx.logic...
Anonymous
3 years agoNot applicable
Hello,
I am facing the same issue.
Passing the same Pbiviz code from 3.8.0 to 5.1.0 API version triggers the Content-Security-Policy 'connect-src' error.
Setting the capabilities privilieges as following won't change anything :
I even try to set the header meta content as following but it seems that the CSP policy is set above of the visual.
I would appraciate some help if anyone has successfully access external Api ressources inside a PBI visual.
Thnaks,
Maxime
FelipeCosta
Advocate II
3 years ago-stop pbiviz execution
-change the visual's guid in the file pbiviz.json
-pbiviz start