+1, We are experiencing similar issues with the Custom Object API endpoint where we receive generic HTTP-400 responses with category "VALIDATION_ERROR" for several different error scenarios (unique property constraint violation, invalid enum values etc). Hubspot seems to know the specific error case, as it is described in the message text, but there is no progrematic way to determine this.
Obviously one could try to parse information out of the message text, however this is not a reliable way to decode the information.
@hubspot - Please add a detailed HTTP-400 error subcategory / error code attribute with formally defined values that match the error text so that we can make our integrations robust/reliable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.