# Error 500 while retrieving contacts data

**URL:** <https://community.hubspot.com/t/error-500-while-retrieving-contacts-data/75887>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [February 23, 2023, 7:44pm UTC](https://community.hubspot.com/t/error-500-while-retrieving-contacts-data/75887 "2023-02-23T19:44:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eugene\_Teren](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/eugene_teren/32/53612_2.png) [@Eugene\_Teren](https://community.hubspot.com/u/Eugene_Teren)\
**Post date:** [February 23, 2023, 7:44pm UTC](https://community.hubspot.com/t/error-500-while-retrieving-contacts-data/75887/1 "2023-02-23T19:44:01Z")

</div>

Hi there,

We getting error 500 “Internal Server Error” while retrieving contacts data:

curl -L -X GET ‘[https://api.hubapi.com/contacts/v1/lists/all/contacts/all?count=10&property=country&property=lifecyclestage&property=hs\_lifecyclestage\_opportunity\_date&property=utm\_campaign&property=utm\_source&property=utm\_medium&property=hs\_analytics\_source&property=hs\_analytics\_source\_data\_1&property=hs\_analytics\_source\_data\_2&property=hs\_lead\_status&property=recent\_conversion\_event\_name&property=recent\_conversion\_date&property=affiliate\_lead&property=emea\_user&property=number\_of\_employees\_range\_&property=recent\_deal\_amount](https://api.hubapi.com/contacts/v1/lists/all/contacts/all?count=10&property=country&property=lifecyclestage&property=hs_lifecyclestage_opportunity_date&property=utm_campaign&property=utm_source&property=utm_medium&property=hs_analytics_source&property=hs_analytics_source_data_1&property=hs_analytics_source_data_2&property=hs_lead_status&property=recent_conversion_event_name&property=recent_conversion_date&property=affiliate_lead&property=emea_user&property=number_of_employees_range_&property=recent_deal_amount)’ \

-H ‘Authorization: Bearer {token}’

We working with several clients accounts but only one of them fails with 500 error. All others work as expected.

Please advise how it can be fixed.

Regards,

Evgeniy

---

<div class="post-metadata">

**Author:** ![PamCotton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pamcotton/32/47916_2.png) [@PamCotton](https://community.hubspot.com/u/PamCotton)\
**Post date:** [February 24, 2023, 4:53pm UTC](https://community.hubspot.com/t/error-500-while-retrieving-contacts-data/75887/2 "2023-02-24T16:53:49Z")

</div>

Hello [@Eugene\_Teren](https://community.hubspot.com/t5/user/viewprofilepage/user-id/163856), Happy Friday!

This error indicates when a third-party integration sends an API request to HubSpot, they can sometimes encounter a 500 internal error. This is a transient error that can appear randomly depending on the number of API requests we are receiving at that time. In situations like this, the integration will need to send the API request again after a short delay.

Would it be possible for them to resubmit the request to check if it is now returning the correct status code?

I hope the information helps,

Kindly,

Pam

---

<div class="post-metadata">

**Author:** ![Denis\_Isakov\_Im](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@Denis\_Isakov\_Im](https://community.hubspot.com/u/Denis_Isakov_Im)\
**Post date:** [February 27, 2023, 8:10am UTC](https://community.hubspot.com/t/error-500-while-retrieving-contacts-data/75887/3 "2023-02-27T08:10:26Z")

</div>

@PamCotton, hi!

Taking this over from [@Eugene\_Teren](https://community.hubspot.com/t5/user/viewprofilepage/user-id/163856).

This error is **specific** to **only one** account and appears for each request to legacy Contacts endpoint **/contacts/v1/lists/all/contacts/all**. Even manual requests through Postman fail with 500 Internal Error.

Sending request without any property params also result in error.

We can send "correlationId"s if needed.

Best regards,

Denis
