Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
I am getting the following Script Runtime Error after publishing my Power BI Report on the Power BI Service:
Attaching package: 'zoo'The following objects are masked from 'package:base':as.Date, as.Date.numeric Attaching package: 'dplyr'The following objects are masked from 'package:plyr':arrange, count, desc, failwith, id, mutate, rename, summarise,summarize The following objects are masked from 'package:stats':filter, lag The following objects are masked from 'package:base':intersect, setdiff, setequal, union Error in file(file, "rt") : cannot open the connection In addition: Warning message:In file(file, "rt") :InternetOpenUrl failed: 'The server name or address could not be resolved'Please try again later or contact support. If you contact support, please provide these details.Show technical details Copy
My dataset (csv file) comes from my github repository.
In Power BI Desktop (on my local machine), everything works perfectly and data is retrieved without any issues and the script runs fine.
What could be wrong?
@Anonymous - First think I would do is to verify that your R packages (version) are supported by the Service:
https://docs.microsoft.com/en-us/power-bi/connect-data/service-r-packages-support
Thanks Greg. I did that and all the 5 packages used are indeed supported.
Hi @Anonymous ,
For this kind of unknown error that we cannot reproduce, create a support ticket is recommended.If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".
Best Regards,
Dedmon Dai
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.