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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Microsoft Employee
Microsoft 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?

 

 

Eric_Zhang
Microsoft Employee
Microsoft Employee


@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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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