Skip to main content
Devphoenix
Active Contributor III
Active Contributor III
Jun 30, 2023 4:33 AM UTC
Solved

API giving getting error of content deadline exceeded

Hi Team,

We are currently experiencing an issue where we are getting an error of "content deadline exceeded" for the following HTTP client request: GET <https://a.klaviyo.com/api/profiles>.

The full error message is: client do: Get "<https://a.klaviyo.com/api/profiles>": context deadline exceeded.

Could you please assist us with this issue?

Thank you.

This topic has been closed for replies.
Brian Turcotte
Klaviyo Alum
Jul 6, 2023 6:38 PM UTC

Hi @Devphoenix!

May I ask how you’re making this API call? This error message doesn’t look like a message that Klaviyo sends as a response to an API call. For example, are you making this API call on an app/interface where there may be third-party error messaging?

 

Are you able to make this same call successfully in a different app like Postman? If so, it may be that whatever interface you’re making the call from is interfering.

 

Best,

Brian

4 replies

Brian Turcotte
Klaviyo Alum
Jun 30, 2023 9:46 AM UTC

Hi @Devphoenix!

I will check on this with Engineering for you and reply to thread as soon as possible!
 

Best,

Brian

Brian Turcotte
Klaviyo Alum
Jul 6, 2023 6:38 PM UTC

Hi @Devphoenix!

May I ask how you’re making this API call? This error message doesn’t look like a message that Klaviyo sends as a response to an API call. For example, are you making this API call on an app/interface where there may be third-party error messaging?

 

Are you able to make this same call successfully in a different app like Postman? If so, it may be that whatever interface you’re making the call from is interfering.

 

Best,

Brian

Devphoenix
Active Contributor III
Active Contributor III
Aug 23, 2023 7:26 AM UTC

Hi @Brian Turcotte,

We are using an interface to interact with the Klaviyo API, but it shouldn't take this long to receive a response.

Thanks.

Gourav Gupta
Devphoenix
Active Contributor III
Active Contributor III
Aug 23, 2023 9:29 AM UTC

response: HTTP client request GET https://a.klaviyo.com/api/profiles/?page[size]=1: HTTP client response 504 Gateway Timeout: status: got 504, want 2XX

Gourav Gupta