APIs & Integrations

dave-f
Member | Partner
Member | Partner

Dropdown Select INVALID_OPTION.. is there a way to ignore the error?

SOLVE

Hi,


Whenever you try to update a property that is defined as a 'Dropdown select' via API it throws an error if the supplied value(s) are not in the list of defined values for that property... which is fair enough.

Is there a way to prevent the error being thrown e.g. an ignore invalid option flag.  The thinking here being if you're supplying a bunch of other properties in the same request you still want those to complete/update regardless of the failng option value.

0 Upvotes
1 Accepted solution
Teun
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Dropdown Select INVALID_OPTION.. is there a way to ignore the error?

SOLVE

Hi @dave-f ,

 

I fully agree with what you're saying, and that would make sense. However, that currently isn't possible.

Might be a good one to post to the ideas forum.



Learn more about HubSpot by following me on LinkedIn or YouTube

Did my answer solve your issue? Help the community by marking it as the solution.


View solution in original post

0 Upvotes
1 Reply 1
Teun
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Dropdown Select INVALID_OPTION.. is there a way to ignore the error?

SOLVE

Hi @dave-f ,

 

I fully agree with what you're saying, and that would make sense. However, that currently isn't possible.

Might be a good one to post to the ideas forum.



Learn more about HubSpot by following me on LinkedIn or YouTube

Did my answer solve your issue? Help the community by marking it as the solution.


0 Upvotes