# there was a problem with the request

**URL:** <https://community.hubspot.com/t/there-was-a-problem-with-the-request/58078>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [May 31, 2022, 7:41pm UTC](https://community.hubspot.com/t/there-was-a-problem-with-the-request/58078 "2022-05-31T19:41:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RJarrett](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@RJarrett](https://community.hubspot.com/u/RJarrett)\
**Post date:** [May 31, 2022, 7:41pm UTC](https://community.hubspot.com/t/there-was-a-problem-with-the-request/58078/1 "2022-05-31T19:41:16Z")

</div>

I am doing a search on contacts and I keep getting a response of

{

“status”: “error”,

“message”: “There was a problem with the request.”,

“correlationId”: “32073a19-9272-4955-a756-e3b6a4671738”

}

the correlation id keeps changing.

**This type of error response does not help determine what is going wrong.**

I am just making a simply search reguest

curl --location --request POST ‘[https://api.hubapi.com/crm/v3/objects/contacts/search?hapikey=MY\_API\_KEY](https://api.hubapi.com/crm/v3/objects/contacts/search?hapikey=MY_API_KEY)’ \

--header ‘Content-Type: application/json’ \

--data-raw '{

“filterGroups”: [

{

“filters”: [

{

“value”: “Spam (Auto Deletes Contact)”,

“propertyName”: “Contact Type”,

“operator”: “EQ”

}

]

}

],

“limit”: 10,

“after”: 0

}’

**Where can I go to get some help?**

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [June 1, 2022, 4:45pm UTC](https://community.hubspot.com/t/there-was-a-problem-with-the-request/58078/2 "2022-06-01T16:45:03Z")

</div>

@RJarrett ,

The property name does not appear correct. The internal name of the property will never include a space.

---

<div class="post-metadata">

**Author:** ![RJarrett](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@RJarrett](https://community.hubspot.com/u/RJarrett)\
**Post date:** [June 1, 2022, 6:04pm UTC](https://community.hubspot.com/t/there-was-a-problem-with-the-request/58078/3 "2022-06-01T18:04:05Z")

</div>

Yes I discovered this. I do not remember seeing anywhere that mentioned what the mapping of External Property Names to the internal name.  
If the error message had said this was the problem then I would have been able to fix it straight away but I had the frustration of ultimately finding the solution to the problem by trial and error. I had spent a long time trying to find the answer before even posting this question.

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [June 1, 2022, 6:22pm UTC](https://community.hubspot.com/t/there-was-a-problem-with-the-request/58078/4 "2022-06-01T18:22:29Z")

</div>

Indeed, the error message is less than helpful. I will report to the team and see if we can make it more meaningful
