Skip to main content
Devphoenix
Active Contributor III
Active Contributor III
June 30, 2023
Solved

API giving getting error of content deadline exceeded

  • June 30, 2023
  • 4 replies
  • 374 views

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.
Best answer by Brian Turcotte

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
June 30, 2023

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
July 6, 2023

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
August 23, 2023

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
August 23, 2023

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