APIs & Integrations

alawton
Member

Email Events API consistent timeout

Hi There,

I’ve been trying to track down why I’ve been getting a 504 timeout from a few requests from email/public/v1/events, and have narrowed things down to a specific return. While other API requests to the same API (with the same token) is working just fine, when I hit a specific event it seems to consistently timeout.

I’ve pasted the relevant API calls (with API tokens removed)

This request returns events OK:

https://api.hubapi.com/email/public/v1/events?appId=22809&limit=31&endTimestamp=1470333623000&access...

But when increasing the limit to 32:

https://api.hubapi.com/email/public/v1/events?appId=22809&limit=32&endTimestamp=1470333623000&access...

it causes a timeout. Additionally, when getting the offset from request #1, and getting just a limit of 1 (the next record):

https://api.hubapi.com/email/public/v1/events?appId=22809&limit=1&endTimestamp=1470333623000&access_...

also fails (hence why I’m thinking a specific entry is causing an issue).

Any way to take a look at what might be causing this?

0 Upvotes
2 Replies 2
Dadams
HubSpot Employee
HubSpot Employee

Email Events API consistent timeout

Hi @alawton, can you message me directly with the Hub ID you’re seeing this with?

0 Upvotes
alawton
Member

Email Events API consistent timeout

Sent a message: thanks!

0 Upvotes