The error was "hasty coder", I POST
ed the request instead of GET
ting it.
In my defense, it seems logical that a REST
ful api should return a 405
when you send it the wrong method. So I declare from atop my high horse.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm attempting to discover when the refresh of a given dataflow has finished.
Using the instructions I keep getting a failure message (in the body of a 200, which is ... less than restful to my poor brain)
2021-10-01 13:51:21,410 - RefreshDataflows - INFO - {'Message': "No HTTP resource was found that matches the request URI 'http://wabi-us-north-central-h-primary-redirect.analysis.windows.net/v1.0/myorg/groups/foo/dataflows/bar/transactions'."}
2021-10-01 13:51:21,411 - RefreshDataflows - INFO - https://api.powerbi.com/v1.0/myorg/groups/foo/dataflows/bar/transactions
I have replaced the groupId
and dataflowId
values with "foo" and "bar", I have recreated the url using the "Focus mode" feature on the documentation page and get the expected response.
The first line is the decoded body of the response object (note the altered url), the second is the url that was passed to requests.
The available tags don't seem to have any focus on Power BI or it's REST api, so I really hope someone is searching deeply. :/
The error was "hasty coder", I POST
ed the request instead of GET
ting it.
In my defense, it seems logical that a REST
ful api should return a 405
when you send it the wrong method. So I declare from atop my high horse.