Forum Discussion
ronant
4 years agoFrequent Visitor
Refresh dataset via API issue
Hi, I'm refreshing a dataset via API, however it would sometimes fail. I tried chaning the commitMode to PartialBatch but it's not working. I'm calling: https://api.powerbi.com/v1.0/myorg/...
ronant
4 years agoFrequent Visitor
The dataset is indeed in a shared capacity however I am not above 8 requests when doing the refreshes.
When testing, this works the first time:
{
'notifyOption': 'NoNotification',
}
The second with the following doesn't:
{
'notifyOption': 'NoNotification',
'commitMode': 'partialBatch',
'retryCount': 1
}
I tried a third time, same as the first, it also works, no error from the API.
gabrielfonseca
4 years agoNew Member
Hi,
I was dealing with this same problem. I think the explanation is in the documentation shared by Anonymous (maybe it was updated recently, at least I don't remember when I first read the API documentation).
I hope they change this and allow the retry option for shared capacity, as long as it respects the eight requests per day limit.
The retry option was exactly what took us to explore the possibility of using the API to refresh some datasets.