Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi,
Power BI REST API is failing with 500 Internal Server Error from Apiary
This is the API
Add Rows: POST https://api.powerbi.com/v1.0/myorg/groups/{group_id}/datasets/{dataset_id}/tables/{table_name}/rows
And this is the response
{ "error": { "code": "GeneralException", "message": "Failed to process dataset PostRows", "target": "PostRows", "details": [ { "message": "SQL row count query failed: Database unreadable Server: tcp:dfmsitwcussql.database.windows.net, Database: DF-MSIT-SCUS-RestaUserDataStore-0, Command: SQLText" } ] } }
Is this global issue? Please investigate.
Thanks,
-Minsuk
Solved! Go to Solution.
The API works at the moment I post. Could you be more specific how you called it? I just tested the API with the dataset sample in this demo and it indeed added rows to the table in one dataset of one group. If the error still persists in your end, I'd guess it might be some issue on some cluster node then you'' have to create a support ticket.
By the way, the add rows API only works with the datasets created via REST API.
Ran accross the same issue. In my case someone left the company that owned the dataset and the connection was to a legacy system.
Good luck this was way longer to do than I wanted.
Guy in a Cube on YouTube also has one using powershell etc. for orphaned workspaces, I didn't need it but was going to do next.
You can try disabling "parrallel query processing" and "background data" in the query options. This worked for me.
The API works at the moment I post. Could you be more specific how you called it? I just tested the API with the dataset sample in this demo and it indeed added rows to the table in one dataset of one group. If the error still persists in your end, I'd guess it might be some issue on some cluster node then you'' have to create a support ticket.
By the way, the add rows API only works with the datasets created via REST API.
I am having this same problem. It had been working perfectly fine for a couple weeks and today all of a sudden it stopped working after I tested it from a different test client application I built. Now it won't work on either of my applications and I did not change the way I call it or any of the data I am passing to it...thoughts?
Now it works!
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
16 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
19 | |
13 | |
7 | |
7 | |
5 |