APIs & Integrations

nutritics
Member

properties cannot be null when creating deal

I'm trying to create a deal with this JSON:

{"associations":[{"associatedVids":[8984]}],"properties":[{"value":"Test deal","name":"dealname"},{"value":"782583","name":"dealstage"},{"value":"1569402361","name":"renewal_date"},{"value":"331.36","name":"amount"},{"value":"1569402361","name":"closedate"},{"value":"19821452","name":"hubspot_owner_id"}]}

 

but i'm getting this answer:

{"status":"error","message":"properties cannot be null","requestId":"e04191ec-5935-42c0-854e-2acc5697d972"}

 

I already filled all the required fields but still haven't successfully created a deal.

What should i do?

Thanks

0 Upvotes
1 Reply 1
lscanlan
HubSpot Alumni
HubSpot Alumni

properties cannot be null when creating deal

Hi @nutritics,

 

Were you maybe having some issues with posts getting quarantined? It looks like this one is a dupliate of https://community.hubspot.com/t5/APIs-Integrations/Cannot-create-deal-through-API/m-p/293109, which I responded to earlier. But let me know if you have any questions / follow-up.

 

Leland Scanlan

HubSpot Developer Support
0 Upvotes