Skip to main content
Solved

API giving getting error of content deadline exceeded


Devphoenix
Active Contributor II
Forum|alt.badge.img+3

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

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

4 replies

Brian Turcotte
Forum|alt.badge.img+37

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

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 II
Forum|alt.badge.img+3
  • Author
  • Active Contributor II
  • 19 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 II
Forum|alt.badge.img+3
  • Author
  • Active Contributor II
  • 19 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