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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

API Request 500 error when run from my place of work, works fine from home.

I'm doing a simple Get request to: "https://api.powerbi.com/v1.0/myorg/admin/groups?$top=100" using the REST admin api with the correct authentication headers. When I run it from work, I'm consistently getting a statusCode 500 with a not so helpful message of "An error has occurred." However, when I run the same script from my home, it works fine. Is there IP blocking of some kind going on?

Status: New
Comments
v-qiuyu-msft
Community Support

Hi @trentvb

 

Do you use the authorization key for the same Power BI account in your work place to call this API? 

 

Best Regards,
Qiuyun Yu 

trentvb
New Member

Yes, the call is formed exactly the same.