PowerBI api returns a dataflow that later return a 400 status of bad request ("code": "InvalidRequest")

58 Views Asked by At

I'm getting refering to the dataflows api with

https://api.powerbi.com/v1.0/myorg/groups/{groupId}/dataflows/

The api response returns a list with dataflows, then I'm getting a specific dataflow with

https://api.powerbi.com/v1.0/myorg/groups/{groupId}/dataflows/{dataflowId}

While making sure the {dataflowId} was taken from the dataflows response, but I'm getting an error of 400 (Bad request):

{
    "error": {
        "code": "InvalidRequest",
        "message": "Unexpected dataflow error: "
    }
}

Any idea why I'm getting the InvalidRequest (I'm sure the dataflowId was taken from the response)?

The docs are not so helpfull with that matter

1

There are 1 best solutions below

0
Shahar Shokrani On BEST ANSWER

It looks like its a ghost-like-dataflow who was deleted, deleted via the global admin account.

Otherwise it will still come within the dataflows api.