# Error 400

**URL:** <https://community.hubspot.com/t/error-400/73074>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [January 17, 2023, 3:25pm UTC](https://community.hubspot.com/t/error-400/73074 "2023-01-17T15:25:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![YouAssa95](https://avatars.discourse-cdn.com/v4/letter/y/2acd7d/32.png) [@YouAssa95](https://community.hubspot.com/u/YouAssa95)\
**Post date:** [January 17, 2023, 3:25pm UTC](https://community.hubspot.com/t/error-400/73074/1 "2023-01-17T15:25:06Z")

</div>

Hello everyone,  
I’m workign with hubspot API ( contacts/companies creation/update), and I want to handle the 400 errors. Is there a documentaiton that lists the types of errors that we can face (

e.g : INVALID\_INTEGER) ?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 17, 2023, 10:04pm UTC](https://community.hubspot.com/t/error-400/73074/2 "2023-01-17T22:04:22Z")

</div>

Hey, @YouAssa95 👋 Check this out — [HubSpot API | Handling errors](https://developers.hubspot.com/docs/api/error-handling).

Additionally, from the documentation — “_Aside from these general errors, HubSpot error responses are intended to be human-readable. Most endpoints don’t return error codes, but return a JSON formatted response with details about the error. More details for endpoint-specific errors can be found on the documentation pages for the endpoint. **Please note:** _ _the fields in the example response below should all be treated as optional in any error parsing. The specific fields included can vary between different APIs, so any error parsing should allow for specific fields to be missing from the response_.”

Have fun building! — Jaycee
