Forum Discussion

kaushal's avatar
kaushal
Frequent Visitor
9 years ago
Solved

Fail to add rows on dataset using PowerBI Rest API

Hello,

I am using PowerBI Rest API to add row on the dataset that I created using PowerBI Desktop. But I am facing following error

 

An unhandled exception of type 'System.Net.WebException' occurred in System.dll

Additional information: The remote server returned an error: (400) Bad Request.

 

 

When I try to add rows into the dataset which has been created by Power BI Rest API itself, I don't get any error and I am able to add rows into it.

 

Does that mean Power BI Rest API cannot add rows to those dataset which has not been created by REST API?

 

Thanks

 

 

2 Replies

  • ttankka's avatar
    ttankka
    Frequent Visitor

    I am getting this error as well.  I copied the code from the  "push data into a dataset" walkthrough and it failed with the error you mentioned in the addsrows section.