Forum Discussion
kemosully
3 years agoFrequent Visitor
Get Dataflow Transactions REST API retrieves 10 transactions the first time, but only the 11th after
I'm building out a bash script using the Power BI REST API to check when a dataflow completes its refresh. I need to bash rather than powershell due to the manner in which we will deploy the solution...
ibarrau
3 years agoSuper User
Hi! it looks like an API limitation. It doesn't have pagination but it limits the response to 10 transactions. I'll leave feedback at the docs specifing that it doesn't say anything about limiting the response 😞
I hope that change in a near future, but for now, it looks like you won't be able to get more transactions.
I hope that make sense.
kemosully
3 years agoFrequent Visitor
I was aware that it would limit the responses, but I think I was more confused about why it would not return all 10 most recent transactions each time it was called in bash.
I've changed tactics to work on this in python because it gets all 10 most recent transactions each time I call the api.