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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
jgu1
Frequent Visitor

Power BI REST API Table and Row query return with 404 error

Hello,

 

I get this issue when trying to access table and to add or delete rows using REST API. I followed the documentation example here

https://msdn.microsoft.com/en-us/library/mt147898.aspx

Error looks like a typical 404 error

The remote server returned an error: (404) Not Found.

 

 

I tried both my own workspace and group workspace (where i am the owner), using client id and client secret generated from 

https://dev.powerbi.com/apps

by ticking all access boxes to be true.

 

The weird thing is that group, dataset and report APIs still work but not for table and row. I like to use table and row api for managing the datasource. 

 

is there any thing in the middle not correct?

7 REPLIES 7
Eric_Zhang
Employee
Employee


@jgu1 wrote:

Hello,

 

I get this issue when trying to access table and to add or delete rows using REST API. I followed the documentation example here

https://msdn.microsoft.com/en-us/library/mt147898.aspx

Error looks like a typical 404 error

The remote server returned an error: (404) Not Found.

 

 

I tried both my own workspace and group workspace (where i am the owner), using client id and client secret generated from 

https://dev.powerbi.com/apps

by ticking all access boxes to be true.

 

The weird thing is that group, dataset and report APIs still work but not for table and row. I like to use table and row api for managing the datasource. 

 

is there any thing in the middle not correct?


@jgu1

The table and row API works both in groups or in the default workspace base on my test. Do note that the those two API only work with the datasets created via REST API, otherwise you'll get an 404 error with a specific message "Dataset xxxxxxxx-xxx-xx-xxxx is not Push API dataset.".

 

So I guess that you're trying to query tables from the dataset that may come from power bi desktop or get data from online service?

plus, are you saying data table and table row access read-and-write operations is available only if dataset is created by API itself?

 

 


@jgu1 wrote:

plus, are you saying data table and table row access read-and-write operations is available only if dataset is created by API itself?

 

 


Yes. The REST API Table and Row only works on the dataset created by API.

 Is this still the case and is there a way to set the defaultMode on a dataset that was created with the desktop so the Power BI REST API Table and Row queries will work with it?

 

Thanks

right the dataset i try to query is loaded from desktop pbix file

jgu1
Frequent Visitor

Added to the test, below API documentation doesn't seem to work with https://dev.powerbi.com/apps token provided

 

https://msdn.microsoft.com/en-us/library/mt203562.aspx

 

 

 

jgu1
Frequent Visitor

is it because now the API for table and row is turned off? since they are not check box options on the web app registration page

https://dev.powerbi.com/apps

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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