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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
kaushal
Frequent Visitor

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

 

 

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee

@kaushal

 

I got the same error as yours when trying to add rows via REST to a dataset created in Power BI desktop. That seems a limitation and there's already one idea Push data via API into an existing model, you can vote it up.

 

 

View solution in original post

2 REPLIES 2
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.

Eric_Zhang
Microsoft Employee
Microsoft Employee

@kaushal

 

I got the same error as yours when trying to add rows via REST to a dataset created in Power BI desktop. That seems a limitation and there's already one idea Push data via API into an existing model, you can vote it up.

 

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.