We have the Contact API set up between another platform and HubSpot; however, the tool's developer only used the parameters set in the sample JSON.
We want to pipe over all the fields below. Will we need to make new fields that match exactly the data here? The dev asked for sample json for this request so he can map the fields accordingly.
So, for example, would the first line of the below data set be the following and we'd need to make sure that "Order name" was the exact name of a contact property?
Hi @sanderson41, cross-checking the values in that POST request with the values that exist on those contact properties, some of them do not match up. For example, for the lead_source property, there is no option in your account for pegasus. That is the label - the internal value is actually Leadpoint. Same thing goes for loan_purpose. There isn't a value for that property called lower_rate. Check all of the values on each property you're including in the request to make sure that if they're a dropdown option that the values actually exist. Two things I also noticed are that FHA and Language are capitalized when the internal value is not - make sure those are lowercased as well. Your issue appears to be syntactical.
The latter. If it is a dropdown property they have to match the values you have set already in your HubSpot Account. Adding a new value does not automatically create a new option
Hi @sanderson41, please try and refrain from posting your API key here as these are public forums. I'd recommend deactivating your current one and activating a new one to be safe and protect your data.
Nothing jumps out at me here. What is the HubID of the account you're trying to make this request to? Make sure to double check that everything is spelled properly and that the internal values match exactly what's in your account
So we tried this and got the following. What do we need to do?
After 77 milliseconds: java.io.IOException: Server returned HTTP response code: 400 for URL: https://api.hubapi.com/contacts/v1/contact/? Server Response: {"status":"error","message":"property cannot be missing or null","correlationId""}