Skip to main content
Solved

API giving getting error of content deadline exceeded

  • June 30, 2023
  • 4 replies
  • 303 views

Devphoenix
Active Contributor III
Forum|alt.badge.img+4

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.

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
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • 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
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • 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
Forum|alt.badge.img+4
  • Author
  • Active Contributor III
  • 22 replies
  • 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.


Devphoenix
Active Contributor III
Forum|alt.badge.img+4
  • Author
  • Active Contributor III
  • 22 replies
  • 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