Jan 17, 202310:25 AM - edited Jan 17, 202310:25 AM
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 (
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.”
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.”