powerbipowerbi-api

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


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


Solution

  • 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.