# Internal error when using get\_events API Call

**URL:** <https://community.hubspot.com/t/internal-error-when-using-get-events-api-call/11467>\
**Category:** APIs & Integrations\
**Created:** [November 13, 2018, 10:17pm UTC](https://community.hubspot.com/t/internal-error-when-using-get-events-api-call/11467 "2018-11-13T22:17:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [November 13, 2018, 10:17pm UTC](https://community.hubspot.com/t/internal-error-when-using-get-events-api-call/11467/1 "2018-11-13T22:17:34Z")

</div>

I’m trying to download all the email events for a list of campaigns using the request outlined on this page. [https://developers.hubspot.com/docs/methods/email/get\_events](https://developers.hubspot.com/docs/methods/email/get_events) .

{‘status’: ‘error’, ‘message’: ‘internal error’, ‘correlationId’: ‘3f0688b1-2882-4056-b6a9-ef0955ec477d’, ‘requestId’: ‘eeaf085fa71a5c628dc68f6cb3c7ad7e’}

I’ve been running into a “internal error” message the past few times I’ve tried this request. There are a lot of requests occurring but I’m certain it’s not over any of the limits listed here.  
 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/a/1a6c89a07f6371579c4c7b96a6796824735e3eee.png) [developers.hubspot.com](https://developers.hubspot.com/docs/faq/api-error-responses)

### [API Error Responses](https://developers.hubspot.com/docs/faq/api-error-responses)

Details for common error responses.

Any assistance would be greatly appreciated.  
Thanks,

---

<div class="post-metadata">

**Author:** ![cbarley](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbarley/32/82559_2.png) [@cbarley](https://community.hubspot.com/u/cbarley)\
**Post date:** [November 15, 2018, 5:06pm UTC](https://community.hubspot.com/t/internal-error-when-using-get-events-api-call/11467/2 "2018-11-15T17:06:25Z")

</div>

Hi [@Lachlan\_Byatt](https://community.hubspot.com/u/lachlan_byatt), I just used the endpoint listed and was able to get the events for my portal for a specific campaign. This may have been temporary. So I can dig into this a bit further, would you mind replying with your portal ID, and the campaign ID you’re looking to pull events from?

Please also send along an example request URL you made including the method (leave out your API key). Thank you

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [November 18, 2018, 10:01pm UTC](https://community.hubspot.com/t/internal-error-when-using-get-events-api-call/11467/3 "2018-11-18T22:01:25Z")

</div>

I’m using this API to iterate through a series of portalID’s (3 portals) and campaignID’s (~200 - 400 for each portal) where this issue occurs has not been consistent to either a single portal or campaign ID. I’ve had it successfully run yesterday so I’d consider this issue resolved - thanks for your help
