Hi,
We are using the profile API as documented here: https://developers.klaviyo.com/en/reference/get_profiles
On an extremely frequent basis (~50% of the time) we receive the following error:
Server error: `GET https://a.klaviyo.com/api/profiles/` resulted in a `504 Gateway Timeout` response

- It isn’t a code error because, if re-ran a few minutes later, it works
- It isn’t a rate limit error, as that is documented to be a 429 error (https://developers.klaviyo.com/en/reference/api_overview)
I see one other mention of a 504 on these forums (the Magento thread), but that seemed to be a misconfiguration issue with that user.
It appears your Klaviyo API is managed via Cloudflare. Are there any further limits imposed by Cloudflare config at your end?
Any input or investigation would be fantastic. As it stands, the inconsistent response makes it hard to rely on the API