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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ananchev
New Member

REST API PostRows - random 'Internal Server Error'

I am using a Python code to execute once per day data load into a Power BI dataset using PostRows. Around 150 to 200 calls are executed sequentially with different json payloads (normally 50-60 data rows each) posting the data into few different tables within the dataset.

Randomly I get 500 - Internal Server Error response, which after retrying the request normally executes succesfully. It is rather undeterministic unfortunately.

Has anyone had such issue and what would be the best approach to tackle?

I am thinking for implementing retry logic at first place, but maybe also certain timeouts (e.g. 1s) between each call. Any advice would be welcome.

 

Thanks,

Anton

1 REPLY 1
Anonymous
Not applicable

Hi @ananchev,

I'd like to suggest you take a look at the following document about REST API limitations if it helps:

Power BI REST API limitations 

Regards,
Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.