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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
olegkazanskyi
Helper II
Helper II

Blank Values API Output for the Dataset Refreshes

Hello.

 

I use the API request to get the latest refresh date for the available datasets.

GET https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/refreshes

 

It works well for the majority of cases but for some datasets, it returns "" even it was refreshed not a long time ago.

 

Does anyone know how to fix this?

1 ACCEPTED SOLUTION
olegkazanskyi
Helper II
Helper II

We identified that we get blank values for the datasets that users upload to the Service from time to time and do not use the "refresh" button.

View solution in original post

6 REPLIES 6
olegkazanskyi
Helper II
Helper II

We identified that we get blank values for the datasets that users upload to the Service from time to time and do not use the "refresh" button.

collinq
Super User
Super User

Hi @olegkazanskyi ,

 

I would triple check the dataset id.  It would appear to me that you are getting a "null" because there is nothing being grabbed by the API.  

OR - do you have the permissions to see that dataset (or the userid that you are using the API with)?




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Hi @collinq ,

Yes, the account has an admin access level to the workspace.

I've double-checked the dataset_id and it is correct. It was retrieved from another scanning script.

Hey @olegkazanskyi ,

 

Does the status show "Failed" or "Completed" when it is null?




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Hello @collinq , 

shows complete- 200

Hi @olegkazanskyi ,

 

This sounds quite unusual.  I think that because this is something that Microsoft can see that we can't I would turn in a ticket and have Microsoft find what they see on their side.




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.