Forum Discussion
mthierba
9 years agoAdvocate I
Refresh Dataset API returns 400 Bad Request when refresh is in progress
Hi, I'm making use of the new Dataset Refresh API, and the documentation states that a status code of 409 Conflict is returned when a refresh is already executing. However, I am receiving a 400 Bad ...
Eric_Zhang
9 years agoMicrosoft Employee
Anonymous wrote:
I am always getting the "Operation returned an invalid status code 'UnsupportedMediaType'" error everytime I try to refresh a dataset.
Snippet
var refreshData = client.Datasets.RefreshDatasetInGroup(cloneGroup.Id, report.DatasetId) as Datasets;
Anonymous
What is the dataset in your case? What if you go with my demo calling REST API instead of using the SDK?
Anonymous
9 years agoNot applicable
Eric_Zhang I am getting "Invalid Dataset. This API can only be called on a Model-base dataset" when I use your demo.. Not sure what it means.
- Eric_Zhang9 years agoMicrosoft Employee
Anonymous wrote:
Eric_Zhang I am getting "Invalid Dataset. This API can only be called on a Model-base dataset" when I use your demo.. Not sure what it means.
Anonymous
What is the datasource in your dataset?