# Batch endpoints cannot send "null" values in a property?

**URL:** <https://community.hubspot.com/t/batch-endpoints-cannot-send-null-values-in-a-property/113845>\
**Category:** APIs & Integrations\
**Tags:** php\
**Created:** [August 6, 2024, 9:16am UTC](https://community.hubspot.com/t/batch-endpoints-cannot-send-null-values-in-a-property/113845 "2024-08-06T09:16:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hubsforero](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hubsforero/32/43872_2.png) [@Hubsforero](https://community.hubspot.com/u/Hubsforero)\
**Post date:** [August 6, 2024, 9:16am UTC](https://community.hubspot.com/t/batch-endpoints-cannot-send-null-values-in-a-property/113845/1 "2024-08-06T09:16:16Z")

</div>

Hi everybody!:

We are traying to insert, update or upsert objects using batch process, and when we use a null value in a object property, endpoints return “error 500”, why is this happening?

 ![Hubsforero_0-1722935553672.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/5/f59b03d9708de22a60c89ee4161daf170d7a3dbc.png)

Individual insert or update methods have no problem accepting null correctly.  
Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [August 6, 2024, 6:21pm UTC](https://community.hubspot.com/t/batch-endpoints-cannot-send-null-values-in-a-property/113845/2 "2024-08-06T18:21:46Z")

</div>

Hey, @Hubsforero 👋 Can you share an example request and response using the on-page example from the documentation or from Postman, please? I want to make sure I set up my test exactly like yours.

Thanks! — Jaycee

---

<div class="post-metadata">

**Author:** ![Hubsforero](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hubsforero/32/43872_2.png) [@Hubsforero](https://community.hubspot.com/u/Hubsforero)\
**Post date:** [August 7, 2024, 6:25am UTC](https://community.hubspot.com/t/batch-endpoints-cannot-send-null-values-in-a-property/113845/3 "2024-08-07T06:25:39Z")

</div>

Hi Jaycee:  
Of course, next image shows an example:

 ![Hubsforero_0-1723011754177.png](https://d2qpr2jzcazej7.cloudfront.net/original/1X/5a8a170445e12390603acf44ce486516ad1b26d7.png)

If you set a value to “description” field, the call works perfectly.  
Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [August 8, 2024, 6:28pm UTC](https://community.hubspot.com/t/batch-endpoints-cannot-send-null-values-in-a-property/113845/4 "2024-08-08T18:28:17Z")

</div>

Thank you! I’ll set this up today and get it to my internal resources. — Jaycee

---

<div class="post-metadata">

**Author:** ![almrdog](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@almrdog](https://community.hubspot.com/u/almrdog)\
**Post date:** [August 22, 2024, 8:45am UTC](https://community.hubspot.com/t/batch-endpoints-cannot-send-null-values-in-a-property/113845/5 "2024-08-22T08:45:26Z")

</div>

I can also confirm this problem, which is easy to replicate using the developer docs API. Simply update a record with a null or blank value using the batch upsert endpoint.

---

<div class="post-metadata">

**Author:** ![Hubsforero](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hubsforero/32/43872_2.png) [@Hubsforero](https://community.hubspot.com/u/Hubsforero)\
**Post date:** [September 2, 2024, 8:10am UTC](https://community.hubspot.com/t/batch-endpoints-cannot-send-null-values-in-a-property/113845/6 "2024-09-02T08:10:22Z")

</div>

Hi Jaycee!  
Any update on this topic?  
Best regards
