Database unusually slow in refreshing Power BI

We have a database via Invantive which takes an unusually long time to refresh the dataset via Power BI, but also when I want to load/refresh a new table, it often takes a long time.

I also very frequently get the message that there have been too many API calls and that no more data can therefore be retrieved (itgeneor229).

Since we don’t encounter this with similar dashboards, I’d like to receive information about what’s going wrong.

As far as I know, the queries being retrieved aren’t unusually large.
Unfortunately, my Invantive Cloud wasn’t open yet when I started refreshing, so I can’t find the refresh via monitoring.

Takes over an hour

Warning itgenoda324 following itgenoda267 / 429 Too Many Requests

Itgenlic566 log message access via download PurchaseEntries

Request ID: 0HN9JIRBVFEK5:00000001

Warning itgenoda324 / itgenoda267 / 429 Too Many Requests

The itgenoda267 message in the screenshots is a warning. It doesn’t occur often, as the Invantive driver automatically adjusts its behaviour based on the figures returned by the underlying API — in this case, Exact Online.

The request will automatically be resubmitted after the indicated waiting period. The waiting period works with an “exponential backoff” up to a certain upper limit.

If the error message occurs several times in succession, the waiting period will continue to increase up to a certain upper limit. This upper limit may be based on the size of the “window” to which the rate limiting applies. On Exact Online, this is primarily one minute and, secondarily, one day. However, exceeding the secondary window on Exact Online results in a “hard stop” with itgeneor229 instead of itgenoda324.

Intervention is only necessary if this message occurs frequently (for example, if more than 1% of a larger number of API requests result in this message). This can happen, for instance, when the same combination of Exact Online client ID and administration is used by systems other than Invantive Cloud.

An analysis of the request shown reveals nothing unusual and a relatively short and regular run time for around 18,000 rows:

However, the log does show that the total API usage from 00:00 to 08:00 is relatively high for this administration, with around 1,000 of the 5,000 available API calls used.

It is also apparent that the response time for some API calls is relatively long, but this is a matter for Exact Online itself (note: Invantive Cloud fundamentally always works deliberately with real-time data, with caching layered on top where necessary):

Finally, it is apparent that the peak in activity at the start is related to data being retrieved from caches, possibly because earlier downloads were interrupted:

You can find the response times of the Exact Online API in the “Session I/Os” screen.

Our advice is to:

This question was automatically closed after 1 week of inactivity. The last answer given has been marked as the solution.

Please ask a new question via a separate topic if the problem occurs again. Please include a link to this topic in the new question by pasting its URL into the text.