APIs & Integrations

ogrygor
Participant

Internal Server Error (500) on GET /contacts/v1/lists/recently_updated/contacts/recent

Hi.

I frequently receive error 500 when calling recently modified contacts.
I make a call every 10 seconds and I have more than 10 such errors a day.

Hub ID 2892308

Response body for last few errors:
{“status”:“error”,“message”:“internal error”,“correlationId”:“0d63be0f-3a5f-456b-863b-0e32c02cdb20”,“requestId”:“41578de45ff61545d48419843f2a7bb5”}

{“status”:“error”,“message”:“internal error”,“correlationId”:“a4e5637e-81e8-4f81-982b-
2f0b5186ea50”,“requestId”:“40df1b14856624c8588a3503b175ab76”}

Any idea what the problem could be?

Thank you in advance!

0 Upvotes
4 Replies 4
ogrygor
Participant

Internal Server Error (500) on GET /contacts/v1/lists/recently_updated/contacts/recent

@pmanca There are no any pattern when errors happen. I`ve attached screen from api call logging.

In general, every next iteration works sucessfully…

Thank you!

0 Upvotes
3PETE
HubSpot Employee
HubSpot Employee

Internal Server Error (500) on GET /contacts/v1/lists/recently_updated/contacts/recent

@ogrygor If you get back a 500 error and it is usually a one off issue you need to then catch and handle the error to retry the request. I’ll put in a word to our engineering team to take a look at the reliability for that endpoint but in general you should just wait a 1000 milliseconds or so and try again

0 Upvotes
ogrygor
Participant

Internal Server Error (500) on GET /contacts/v1/lists/recently_updated/contacts/recent

@pmanca Thank you

I`ll try to use that approach

3PETE
HubSpot Employee
HubSpot Employee

Internal Server Error (500) on GET /contacts/v1/lists/recently_updated/contacts/recent

@ogrygor Do you attempt the call agin initially and continue to receive 500 errors or are these one off events?

0 Upvotes