Forum Discussion
Power BI API - return unexpexted result
- 4 years ago
You're supposed to cal the official API at https://api.powerbi.com/v1.0/myorg/groups
Groups - Get Groups - REST API (Power BI Power BI REST APIs) | Microsoft Docs
Do you see the same error message there? Do you maybe not have access to any workspaces in your tenant?
please post the actual error message
I call api.powerbi.com and don't receive list of workspaces but only this json:
{
"@odata.context": "http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups",
"@odata.count": 0,
"value": []
}
I try to call directly http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups and receive:
502 Badgateway - The proxy did not receive a valid response in time.
D.
- lbendlin4 years agoSuper User
You're supposed to cal the official API at https://api.powerbi.com/v1.0/myorg/groups
Groups - Get Groups - REST API (Power BI Power BI REST APIs) | Microsoft Docs
Do you see the same error message there? Do you maybe not have access to any workspaces in your tenant?
- DavidPi4 years agoAdvocate II
I call official API at https://api.powerbi.com/v1.0/myorg/groups but I receive only this JSON:
{
"@odata.context": "http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups",
"@odata.count": 0,
"value": []
}If I do not have access to no workspaces I would expect empty list.
D.