API Throttling logic

Sometimes, when eg trying to get all variable details and thus making fast repeated requests to the Piwik Pro HTTP API, I get

Status Code: 504, Response:  
504 Gateway Time-out
The server didn't respond in time.

Often, Analytics Tool APIs have some kind of throttling logic (e.g. Adobe does not allow more than 120 requests in a minute, and we all know about the issues that GA4’s throttling logic causes in Data Studio). Is there anything like that in Piwik Pro’s API? Then I can work around it better. Searching the API Docs for “throttle” and “throttling” did not give me any results.

Hi Lukas,

The 504 error is a denial of service related to the number of requests. We don’t have any API rate limiting yet.

Could you elaborate on the amount of requests you are sending? And in what time?

I just try to get e.g. all tag details from the tag manager API for a certain site with no throttling. So as soon as I get the response for Tag 1, I query Tag 2 etc…