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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
TStrada
New Member

Power BI REST API call issue response 204

Hi everyone,

I’m running into an odd issue with the Power BI REST API.
I’m calling the GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshes endpoint to check a dataset’s refresh history. Until a few days ago it returned the expected JSON:

{
"@odata.context": "https://wabi-west-europe-b-primary-redirect.analysis.windows.net/v1.0/myorg/groups/517001b1-b717-492...",
"value": [
{
"requestId": "b04b54ce-610e-4afd-a780-d0b4f2c1896f",
"id": 1925306401,
"refreshType": "ViaApi",
"startTime": "2025-05-16T11:25:21.263Z",
"status": "Unknown",
"refreshAttempts": []
}
]
}

Now, every call returns HTTP 204 with an empty value array:

{
"@odata.context": "https://wabi-west-europe-b-primary-redirect.analysis.windows.net/v1.0/myorg/groups/517001b1-b717-492...",
"value": []
}

I get the same result even for datasets that definitely have refresh history.
Has anyone else seen this? Did something change on the service side, or am I overlooking a new requirement/parameter?

Thanks in advance!

1 ACCEPTED SOLUTION
v-venuppu
Community Support
Community Support

Hi @TStrada ,

Thank you for reaching out to Microsoft Fabric Community.

 This issue has popped up recently for others too. Here are some simple things to check:

1.Try Refreshing the Dataset Again
Power BI only keeps the last 60 refresh logs. If the dataset hasn’t refreshed in a while, the history might be empty. Run a new refresh and check again after a minute.

2.Double-Check Dataset and Workspace
Make sure you're using the correct dataset ID and that it belongs to a Pro or Premium workspace.

3.Check API Permissions
If your app’s access token doesn’t have the right permissions (like Dataset.Read.All), it might not return anything even if refreshes exist.

4.Use $top in Your API Call
Add ?$top=5 at the end of your API URL. Sometimes Power BI doesn’t return results unless you specify this.

5.Confirm the Dataset ID
If the dataset was re-published or changed, the ID might be different. You can list all datasets in the workspace to confirm.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

Thank you.

View solution in original post

4 REPLIES 4
v-venuppu
Community Support
Community Support

Hi @TStrada ,

I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please accept it as a solution and give it a 'Kudos' so other community members with similar problems can find a solution faster.

Thank you.

v-venuppu
Community Support
Community Support

Hi @TStrada ,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.

Thank you.

v-venuppu
Community Support
Community Support

Hi @TStrada ,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

 

v-venuppu
Community Support
Community Support

Hi @TStrada ,

Thank you for reaching out to Microsoft Fabric Community.

 This issue has popped up recently for others too. Here are some simple things to check:

1.Try Refreshing the Dataset Again
Power BI only keeps the last 60 refresh logs. If the dataset hasn’t refreshed in a while, the history might be empty. Run a new refresh and check again after a minute.

2.Double-Check Dataset and Workspace
Make sure you're using the correct dataset ID and that it belongs to a Pro or Premium workspace.

3.Check API Permissions
If your app’s access token doesn’t have the right permissions (like Dataset.Read.All), it might not return anything even if refreshes exist.

4.Use $top in Your API Call
Add ?$top=5 at the end of your API URL. Sometimes Power BI doesn’t return results unless you specify this.

5.Confirm the Dataset ID
If the dataset was re-published or changed, the ID might be different. You can list all datasets in the workspace to confirm.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

Thank you.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.