Post from Velocify to Hubspot

My question is actually the reverse of some others here. I’m wanting to update contact records in Hubspot based on updates in Velocify. I thought I had it but my last message in Velocify from Hubspot was…

Post Error: Not accepted by vendor: Template: [Hubspot - WVJC]

External System: [Velocify], Result: [Failure], Message: [https://api.hubapi.com/crm/v3/objects/contacts:--header ‘key’ \ --header ‘content-type: application/json’ \ --data '{ “properties”: { Field1={campus_of_interest}&Field2={lastname}&Field3={firstname}&Field4={middlename}&Field5={phone}&Field6={mobilephone}&Field7={email}&Field8={address}&Field9={city}&Field10={state}&Field11={zip}&Field13={program_of_interest}&Field14=1.63+WVJC+PPC&Field17=Kellie+Moore&Field18=Appointment+Set&Field19=&Field21={HIgh School Education}&Field25=1249567&Field26=] - Request | Response

This is what shows up under response. Do you have any idea what I did wrong?

<html>
<head>
<meta http-equiv=“Content-Type” content=“text/html;charset=utf-8”/>
<title>Error 415 Unsupported Media Type</title>
</head>
<body><h2>HTTP ERROR 415</h2>
<p>Reason:
<pre> Unsupported Media Type</pre></p>
</body>
</html>

Hi @ASanko6

Please provide the actual property name of HubSpot where you want to populate the above values.

Thanks!

Hello Gaurav,

All of the properties inside { } are my different Hubspot properties that I want to update.

Thank you,

Amanda

Hi @ASanko6

Please replace Field 1, Field2, … etc, with actual API name of the Fields.

Remove the Field which is marked as red and replace it by the name which is marked as green colored text.

Field1,

campus_of_interest

Hope this will helps you out. Please mark it as Solution Accepted & Upvote to help other Community member.
Thanks!

Hello,

Thank you! I have a success message now, but they’re not showing up in Hubspot. Any idea why?

External System: [Velocify], Result: [Success], Message: [https://api.hubapi.com/crm/v3/objects/contacts:--header\ --header ‘content-type: application/json’ \ --data '{ “properties”: { campus_of_interest=Charleston%2c+WV&lastname=Derrick&firstname=Kaycee&middlename=&phone=3044195412&mobilephone=&email=kayceed14%40icloud.com&address=&city=Charleston&state=WV&zip=25312&program_of_interest=Nursing+at+CAMC&lead_source=1.63+WVJC+PPC&user_full_name=Sheena+Pack&velocify_status=Appointment+Set&high_school_education=None+Specified&lead_id=0&date_of_birth=&lead_type=&high_school_grad_year=2024]