APIs & Integrations

YouAssa95
Contributor | Diamond Partner
Contributor | Diamond Partner

Error 400

SOLVE

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) ?
0 Upvotes
1 Accepted solution
Jaycee_Lewis
Solution
Community Manager
Community Manager

Error 400

SOLVE

Hey, @YouAssa95 👋 Check this out — HubSpot API | Handling errors.

 

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

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

View solution in original post

0 Upvotes
1 Reply 1
Jaycee_Lewis
Solution
Community Manager
Community Manager

Error 400

SOLVE

Hey, @YouAssa95 👋 Check this out — HubSpot API | Handling errors.

 

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

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes