Account Number is 4071983. I have been able to upload files manually so I know the fields should be there, but perhaps there are some slight variations in the names we need to review.
Here is the sample “Create Deal” from the Hubspot dev documentation:
https://developers.hubspot.com/docs/methods/deals/create_deal
Request:
POST http://api.hubapi.com/deals/v1/deal?hapikey=demo HTTP/1.1
User-Agent: EssEtlProcess
Content-Type: application/json
Host: api.hubapi.com
Content-Length: 284
Expect: 100-continue
Connection: Keep-Alive
{“associations”:{“associatedCompanyIds”:[8954037],“associatedVids”:[27136]},“properties”:[{“property”:“dealname”,“value”:“Tim’s Newer Deal2”},{“property”:“dealstage”,“value”:“appointmentscheduled”},{“property”:“closedate”,“value”:1546267648544},{“property”:“amount”,“value”:“60000”}]}
Response:
HTTP/1.1 400 Bad Request
Date: Mon, 04 Feb 2019 16:35:00 GMT
Content-Type: application/json;charset=utf-8
Content-Length: 589
Connection: keep-alive
Set-Cookie: __cfduid=d98588cec38a915f7588e31f1d4d2ea421549298100; expires=Tue, 04-Feb-20 16:35:00 GMT; path=/; domain=.hubapi.com; HttpOnly
X-Trace: 2B12F68966FBC351C60940AAFFDC5AA4D55EFF1616000000000000000000
X-HubSpot-RateLimit-Daily: 160000
X-HubSpot-RateLimit-Daily-Remaining: 18049
X-HubSpot-RateLimit-Secondly: 60
X-HubSpot-RateLimit-Secondly-Remaining: 57
Access-Control-Allow-Credentials: false
Server: cloudflare
CF-RAY: 4a3e8c45db79b9ca-ATL
{“validationResults”:[{“isValid”:false,“message”:“Property \”\" does not exist",“error”:“PROPERTY_DOESNT_EXIST”,“name”:“”},{“isValid”:false,“message”:“Property \”\" does not exist",“error”:“PROPERTY_DOESNT_EXIST”,“name”:“”},{“isValid”:false,“message”:“Property \”\" does not exist",“error”:“PROPERTY_DOESNT_EXIST”,“name”:“”},{“isValid”:false,“message”:“Property \”\" does not exist",“error”:“PROPERTY_DOESNT_EXIST”,“name”:“”}],“status”:“error”,“message”:“Property values were not valid”,“correlationId”:“99fb1dc3-bf8d-4698-b0b1-ea873ef18cc9”,“requestId”:“35c1aa6f4e377de4b0f8acb89b6bc2de”}