Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
rajamahesh
Microsoft Employee
Microsoft Employee

Custom R visual is failing to load with Script Error on Powerbi Service but working on PBI Desktop

Hi 

 

I created a Custom R visual using packages & versions as below

'dplyr' with version 0.8.0.1

'visNetwork' with version 2.0.3

Versions i chosed are based on the version recommendations shared in the docs page @Learn which R packages are supported - Power BI | Microsoft Docs

 

Visual is loading absolutely fine in Powerbi Desktop.

 

But when published to service its failing with Script Error, but NOT providing any details on why its failed. 

 

I am seeing below error, but i am NOT able to scroll to see on why the script is failing. Any help please!

rajamahesh_0-1626964018776.png

 

 

 

1 ACCEPTED SOLUTION
rajamahesh
Microsoft Employee
Microsoft Employee

Thanks for the response @ibendlin.

Actually for some reason, powerbi service is not giving the scrolling on the screen, because of which i was not able to see the complete details of the error when the website is set at 100% zoom.

When i did a zoom out to 30% .... i was able to see the actual error. The actual error is not related package version issue but something else. 

 

After some tries, i was able to resolve the issue and visual is now working in pbi service as well. 

 

Thanks a lot for the response still. 

View solution in original post

2 REPLIES 2
rajamahesh
Microsoft Employee
Microsoft Employee

Thanks for the response @ibendlin.

Actually for some reason, powerbi service is not giving the scrolling on the screen, because of which i was not able to see the complete details of the error when the website is set at 100% zoom.

When i did a zoom out to 30% .... i was able to see the actual error. The actual error is not related package version issue but something else. 

 

After some tries, i was able to resolve the issue and visual is now working in pbi service as well. 

 

Thanks a lot for the response still. 

lbendlin
Super User
Super User

are you using a personal gateway and is the gateway up to date on these packages?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors