Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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
I tried both my own workspace and group workspace (where i am the owner), using client id and client secret generated from
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 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
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?
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
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
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
User | Count |
---|---|
15 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
17 | |
11 | |
5 | |
4 | |
3 |