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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
yashwanthkalva
Regular Visitor

Power BI REST API returns 500 response intermittently

We are using the Azure Power BI REST API to get the details of various BI assets.

e.g. Listing workspaces.

The API returns 500 response intermittently,

 HttpResponseProxy{HTTP/1.1 500 Internal Server Error [Content-Length: 36, Content-Type: application/json; charset=utf-8, Date: Tue, 05 Apr 2022 13:07:33 GMT] ResponseEntityProxy{[Content-Type: application/json; charset=utf-8,Content-Length: 36,Chunked: false]}}

However, on retry it continues to work as expected.

 

We observed this issue intermittently while invoking the list workspaces API. 

/admin/groups?$top=%s&$skip=%s

 

The 500 response from the Power BI API is quite generic and does not have more information on the cause. 

 

 

 

 

 

 

 

3 REPLIES 3
yashwanthkalva
Regular Visitor

@AmosHersch Thank you for the response but we would like to know what does it change or mean ?

AmosHersch
Microsoft Employee
Microsoft Employee

Hi @yashwanthkalva ,

 

You can try adding to the request URL preferClientRouting=true

In certain cases it can solve errors like the ones you desctribe, and it's not supposed to have any negative effect.

@AmosHersch/ MS Power BI team, please let me know if it is query param or header param, as it is returning 403 forbidden response while using as query param. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.