Solved

Api request metric not created

  • 4 June 2021
  • 1 reply
  • 151 views

Badge +2

Hi,

I am using the API to create dynamic metrics against a profile.

I have for instance 5 requests with a success response however when I go and check the profile events I only see 3 or 2 metrics created on the profile.

Would it be that there is a request limit per second? I should have the 5 metrics created on the profile.

icon

Best answer by Dov 7 June 2021, 15:46

View original

1 reply

Userlevel 7
Badge +61

Hi @adam@act360.ca,

Thank you for sharing your question with the Klaviyo Community.

I noticed that a member of our staff was able to address your question and so I am reposting an edited version of their reply below.

All of our endpoints are rate limited. When you hit rate limits or notice that events are not being posted to Klaviyo , we recommend adjusting your request-rate using an exponential backoff - as you found using the sleep function which allowed all 5 events to come through.

Klaviyo Rate limits are in line with industry standard limits. For example, depending on the endpoint Google rate limits between 2-20 calls per second. Shopify limits all REST API calls to 2-4 per second. 

Thanks and have a great day.

Reply