Forum Discussion
Chris-F
3 years agoFrequent Visitor
Power BI Rest API ServiceExceptionJson Valid Json
Hi Am I the only one running into an issue where the ServiceExceptionJson is not returning a valid json in the Microsoft Power BI Rest API? The JSON returned does not seem to be a valid json ...
GilbertQ
3 years agoSuper User
Hi Chris-F
Can you please let us know which API you are calling.
Your script you are using
And then the error you are getting?
- Chris-F3 years agoFrequent Visitor
Datasets - Get Refresh History In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
This is the API. The error is simply that the JSON is not a valid JSON. If you want to recreate this. Have one of your datasets fail a refresh on a specific table, either due to a query error or something of the like.It will put at the end of the JSON, Table: <tablenamehere>. Which invalidates the JSON format.