Hey guys,
I’m trying to integrate NetSuite and HubSpot for Contact and Company and get this (405) error when trying to upload Company to HubSpot. Can you please look at the below API Request/Response? Thank you!
Error:
HTTP/1.1 405 Method Not Allowed
Access-Control-Allow-Credentials: false
Allow: HEAD,DELETE,GET,OPTIONS,PUT
Content-Length: 0
Date: Wed, 26 Oct 2016 15:09:51 GMT
Connection: close
My API Call:
POST https://api.hubapi.com/companies/v2/companies/271347468?hapikey=************************ HTTP/1.1
Content-Type: application/json
Host: api.hubapi.com
Content-Length: 852
Expect: 100-continue
{“properties”:[
{
“name”: “name”,
“value”: “test”
},
{
“name”: “address”,
“value”: “test”
},
{
“name”: “city”,
“value”: “test”
},
{
“name”: “state”,
“value”: “test”
},
{
“name”: “hubspot_owner_id”,
“value”: “17003150”
},
{
“name”: “zip”,
“value”: “30022”
},
{
“name”: “country”,
“value”: “United States”
},
{
“name”: “lead_record_status”,
“value”: “PROSPECT-Quote”
},
{
“name”: “original_business_unit”,
“value”: “test”
},
{
“name”: “email”,
“value”: “test”
},
{
“name”: “ns_stage”,
“value”: “Prospect”
},
{
“name”: “is_person”,
“value”: “Company”
}
]}