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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.