Skip to main content

Hi,

I am trying to fetch all the profiles of the account using API in python.

I am trying with 100 pages at a time. After a certain point, specifically after 226 calls, I am getting this error:
status_code is 414 with message : Request-URI Too Large

Can someone help me out here?

I am using the following endpoint:

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

from the link (https://developers.klaviyo.com/en/reference/get_profiles)

Hi @jayadheer_a!

I’ll check on this and update the thread ASAP!

- Brian


Hi @jayadheer_a!

My apologies for the delay here! Is this still occurring for you?
 

- Brian


Hi @Brian Turcotte,

 

No, it is not resolved yet.

Can you please help?

 

Regards,

Jayadheer A


Hi @Brian Turcotte,

 

No, it is not resolved yet.

Can you please help?

 

Regards,

Jayadheer A


Hi @jayadheer_a!
 

We checked on the backend and did not see any 414's at all in our logs, which may mean this is happening before it even reaches Klaviyo.

Would you be able to log the full url+query string that you are trying to send when they get the 414 (with any sensitive information redacted)? This would look like /api/profiles?filter=xyz&page[cursor]=xyz. The limit is around 2000 characters, so I would expect it to be longer than that if you’re receiving the error.

Best,

Brian