# Creating Deal error: property cannot be missing or null

**URL:** <https://community.hubspot.com/t/creating-deal-error-property-cannot-be-missing-or-null/11891>\
**Category:** APIs & Integrations\
**Tags:** object\
**Created:** [July 19, 2018, 6:18pm UTC](https://community.hubspot.com/t/creating-deal-error-property-cannot-be-missing-or-null/11891 "2018-07-19T18:18:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [July 19, 2018, 6:18pm UTC](https://community.hubspot.com/t/creating-deal-error-property-cannot-be-missing-or-null/11891/1 "2018-07-19T18:18:02Z")

</div>

Every time I try to post a new deal I get this error “property cannot be missing or null”. I do not understand why if I’m using all the required fields.  
Below is my JSON data I’m sending to the hubspot api:

{“associations”:{“associatedVids”:[134051]},“properties”:[{“name”:“dealname”,“value”:“KS Job #391”},{“name”:“dealstage”,“value”:“0582317a-70a9-4732-9bb7-2e1031f0fe6b”},{“name”:“pipeline”,“value”:“default”},{“name”:“closedate”,“value”:1531976400},{“name”:“amount”,“value”:“457.14”},{“name”:“dealtype”,“value”:“newbusiness”}]}

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [July 20, 2018, 12:04am UTC](https://community.hubspot.com/t/creating-deal-error-property-cannot-be-missing-or-null/11891/2 "2018-07-20T00:04:43Z")

</div>

I figured it out. It was the “closedate” that was causing the issue. It is supposed to be in milliseconds, not seconds.
