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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Power BI API Dataflow Refresh Operation

Hi all, I am testing Dataflow API Refresh dataflow function. I send this POST request with Postman:

 

POST https://api.powerbi.com/v1.0/myorg/groups/<MYGROUPID>/dataflows/<MYDATAFLOWID>/refreshes HTTP/1.1
Authorization: Bearer <MYTOKEN>
cache-control: no-cache
Postman-Token: c1c8e0e7-3bc0-47df-8071-5919cf7f199a
User-Agent: PostmanRuntime/7.4.0
Accept: */*
Host: api.powerbi.com
accept-encoding: gzip, deflate
content-length: 0
Connection: close

 

The response is this error:

{
    "error": {
        "code": "BadRequest",
        "message": "Bad Request",
        "details": [
            {
                "message": "'refreshRequest' is a required parameter",
                "target": "refreshRequest"
            }
        ]
    }
}

 

There is no info in the oficial doc about parameter refreshRequest. Any info about this parameter?

 

Thanks.

 

Regards

1 ACCEPTED SOLUTION
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Please add a request body like below. Please refer to the snapshot below.

{
	"refreshRequest": "y"	
}

Power-BI-API-Dataflow-Refresh-Operation

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Please add a request body like below. Please refer to the snapshot below.

{
	"refreshRequest": "y"	
}

Power-BI-API-Dataflow-Refresh-Operation

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-jiascu-msft,

 

I'm having the same issue in Microsoft Flow. I created a custom connector refreshing a dataset in Power BI, and it works well when I test it, but when I put it in a flow I get the same "refreshRequest required" error @Anonymous found above.

I tried to put your code snippet in the POST function of the custom connector but the issue hasn't been resolved.

Any idea on how I could fix it?

 

Thank you very much,

FD

Hi @Anonymous,

 

Since you added a request body, did you also add the header "Content-Type: application/json"? I would suggest you go to Microsoft-Flow-Community for more precise support.

 

 

Best Regards,

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-jiascu-msft,

 

seems like I just had to add a default value for refreshRequest in the body settings, and force a cache refresh via CTRL+f5.

Thank you very much for your help anyway!

 

FD

Anonymous
Not applicable

Hi @v-jiascu-msft, solution checked. Refresh request is working.

 

Thanks!!

 

Kind regards,

 

Joseba

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.