Oct 18, 202110:14 AM - edited Oct 18, 202110:17 AM
Mismatch between label ID's in edit and API
I made a label in the Hubspot user interface called "Consultant". When I had it in edit mode, the address field looked at the label as having ID 25.
I then manually added a association between a company and a contact who received the label "Consultant". However, when I ask the API for a list of label for that company, I get this response that tells me that the Consultant label ID is actually 26:
I also confirmed this by calling the API endpoint for creating an association with the Consultant label:
Is the ID in your Edit Path for labels off by 1 or something?