Skip to main content
Solved

Throttled at first request to create List


Forum|alt.badge.img

Hello,

On my first API call to create a List I get a throttled request.
This is a paid version, and like this the API is unusable. What’s happening?

 

 

{Method: POST, RequestUri: 'https://a.klaviyo.com/api/lists/', Version: 1.1, Content: System.Net.Http.StringContent, Headers:
{
  Authorization: Klaviyo-API-Key xxxxxxxxxxxxxxxxxxxxx
  Accept: application/vnd.api+json
  revision: 2025-01-15
  traceparent: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  Content-Type: application/json; charset=utf-8
  Content-Length: 125
}}

PAYLOAD
{ data = { type = "list", attributes = { name = "BHAKTI YOGA - WOCHEN_KURS + VOLLPENSION -_47684093346131_E-RTR-BTR-1253" } } }

 

ERROR:
System.Exception: 'Error during list creation in Klaviyo: Request was throttled. Expected available in 2844 seconds.'

Best answer by Byrne C

Hey ​@rfcsilva,

Have you checked out the your API call log in the developer tools section of your account? It’s a really useful tool, as you can use it to look up any API calls made (or failed) in the last 14 days, and see their request bodies and responses: https://www.klaviyo.com/developer-tools/logs. I’d recommend checking out this log, and looking at the day that you made this call. Are you seeing any other instances of the call being made? In general, you’ll only hit the rate limit if this call was made many times in a short amount of time. Set the time frame of this log to see if that’s what’s been happening, and it’ll provide this info. 

If you’re only seeing that one failed API call and nothing else, let me know. We can explore why this may be happening.

-Byrne

 

View original
Did this topic or the replies in the thread help you find an answer to your question?

Byrne C
Community Manager
Forum|alt.badge.img+17
  • Community Manager
  • March 31, 2025

Hey ​@rfcsilva,

Have you checked out the your API call log in the developer tools section of your account? It’s a really useful tool, as you can use it to look up any API calls made (or failed) in the last 14 days, and see their request bodies and responses: https://www.klaviyo.com/developer-tools/logs. I’d recommend checking out this log, and looking at the day that you made this call. Are you seeing any other instances of the call being made? In general, you’ll only hit the rate limit if this call was made many times in a short amount of time. Set the time frame of this log to see if that’s what’s been happening, and it’ll provide this info. 

If you’re only seeing that one failed API call and nothing else, let me know. We can explore why this may be happening.

-Byrne

 


Christiannoerbjerg
Expert Problem Solver II
Forum|alt.badge.img+14

Hi ​@rfcsilva 

Thank you for posting in the Community!

I think the issue is likely due to the JSON script. 

Could you please try the following JSON code: 

POST,

https://a.klaviyo.com/api/lists

Authorization: Klaviyo-API-Key xxxxxxxxxxxxxxxxxxxxx

accept: application/vnd.api+json

content-type: application/vnd.api+json

revision: 2025-01-15

{
  "data": {
    "type": "Your list name"
  }
}

You can read more about the ‘Create list’ API here: https://developers.klaviyo.com/en/reference/create_list

Hope that helps or else let me know! :-) 

Christian Nørbjerg Enger
Partner & CPO
Web: Segmento.dk
LinkedIn: @christianfromsegmento
Voldbjergvej 22b, 8240 Risskov