# Changes in error messages

**URL:** <https://community.hubspot.com/t/changes-in-error-messages/89323>\
**Category:** CRM\
**Tags:** developer, crm, contacts, integrations, enterprise\
**Created:** [September 11, 2023, 5:13am UTC](https://community.hubspot.com/t/changes-in-error-messages/89323 "2023-09-11T05:13:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SaiManikanta](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@SaiManikanta](https://community.hubspot.com/u/SaiManikanta)\
**Post date:** [September 11, 2023, 5:13am UTC](https://community.hubspot.com/t/changes-in-error-messages/89323/1 "2023-09-11T05:13:15Z")

</div>

Hi Everyone,

We have a private app and with the CRM api we have integrated to our application long ago,  
Recently we have observed that the error messages that are comming from hubspot API are modified and due to that we are getting issues in prodcsince we are using regex to match the response.  
Example: When we try to create a contact with existing email, Earlier hubspot returns error like “Contact already exists …existing id:\<id\>”  
Now we are getting "A Contact with email ‘\<email\>’ already exists. Existing ID:\<id\> "  
We also observe the same type of issue with products aswell.  
But I didnt see any recent release notes related to change in validation messages,  
Can someone help me with all the modified validation/error messgaes so that I can update our app to use the latest messages.

---

<div class="post-metadata">

**Author:** ![zachh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zachh/32/87065_2.png) [@zachh](https://community.hubspot.com/u/zachh)\
**Post date:** [September 11, 2023, 1:44pm UTC](https://community.hubspot.com/t/changes-in-error-messages/89323/2 "2023-09-11T13:44:24Z")

</div>

Hi SaiManikanta,

Unfortunately it doesn’t appear that there is a global list of API messages for this. [There’s another thread from 2018 about this](https://community.hubspot.com/t5/APIs-Integrations/Overview-of-errors-error-codes-that-can-happen-for-endpoints/td-p/239274), and it seems to still be accurate.

You _may_ be able to find them in the API documentation on a case by case basis by going into the documentation and checking the error message under **Response** :

 ![zachh_0-1694438919359.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/3/53f04511cb75b3fe28abbf01981e758e2eb65b95.png)

However, many of these are listed as:

_“message”: “Invalid input (details will vary based on the error)”_

> * * *

If you have the time to do so, you could create a separate Private App and send calls that will produce an error message based on the error messages you are already tracking. Because it’s a separate app, it shouldn’t affect your API call limit in your primary Private App. Certainly not an ideal solution, but given the existing limitations, it may be the most straightforward way to do this.
