Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I am gettting the below error while running my R script in power BI . The script runs fine in R studio. In the options in power BI I have specified the right path for R-3.5.0
unable to connect
we encountered an error while trying to connect
Details: "ADO.NET: R script error.
Error: lexical error: invalid char in json text.
output10.json
(right here) ------^
Execution halted
"
The first few line of code are below
library(jsonlite)
library(plyr)
P<-fromJSON("output10.json")
summary(P)
Anybody know why ?
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |