APIs & Integrations

irichner
Member

504 timeout issues

When I make this call https://api.hubapi.com/email/public/v1/events?appId=20185&hapikey={omitted}&limit=1000

i get this error: The remote server returned an error: (504) Gateway Timeout.

0 Upvotes
4 Replies 4
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

504 timeout issues

Hi @irichner,

Can you direct message me with the full request you’re making and the Hub ID of the portal you’re getting events for?

0 Upvotes
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

504 timeout issues

Hi @irichner,

If you try requesting fewer events (e.g. limit=500) are you still seeing these timeout errors?

0 Upvotes
irichner
Member

504 timeout issues

It will allow me to download some events but it does eventually time out reporting the same error. I’ve tried 500 and 250, I’m currently running with 100 to see if it still errors.

Thanks,

[cid:image001.png@01CFAB3B.38E38A10]

Israel Richner
Development Supervisor
support line: 713.403.6669 | direct: 346.308.6699
ITSupport@envoymortgage.commailto:ITSupport@envoymortgage.com | irichner@envoymortgage.commailto:irichner@envoymortgage.com
5100 Westheimer Road, Suite 320 | Houston, TX 77056 | www.envoymortgage.comhttp://www.envoymortgage.com/

0 Upvotes
irichner
Member

504 timeout issues

No, If I limit it to 500 it works. When I use campaignID I’m able to get 1000 per request. Why can’t I do that with appID?

0 Upvotes