Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Error refused to display url in a frame because it set 'x-frame-options' to 'deny'


I was trying to create a custom visual that have a Resolve link which redirects to an API on click. I used the default YourVisual template and added the link as 

.data(d=> d)
.attr('data-th',(d, i) => viewModel.categories[i].value)
.text(d => this.format(d)).append('a')
.attr("href", "")
.text(" Resolve");


When I try to open the link an error occurres

" Refused to display in a frame because it set 'x-frame-options' to 'deny' "

Although the href i set was, the actual request seems to be routed to  "".


Any help appreciated.

Thank you



Update - Solved

I need to add http to the url. In this case was the url i wanted to redirect and changed it to which worked fine.


Helpful resources

PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.