# error":"INVALID\_BEFORE\_DURATION"

**URL:** <https://community.hubspot.com/t/error-invalid-before-duration/129133>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [April 2, 2025, 4:04pm UTC](https://community.hubspot.com/t/error-invalid-before-duration/129133 "2025-04-02T16:04:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AFavre5](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@AFavre5](https://community.hubspot.com/u/AFavre5)\
**Post date:** [April 2, 2025, 4:04pm UTC](https://community.hubspot.com/t/error-invalid-before-duration/129133/1 "2025-04-02T16:04:49Z")

</div>

Hi,  
I’m trying to update a date in Hubspot via API and it works great if the date is not today. Otherwise I receive:  
[400] Property values were not valid: [{“isValid”:false,“message”:“Consultant Certification Date must be before Apr 02, 2025”,“error”:“INVALID\_BEFORE\_DURATION”,“name”:“consultant\_certification\_date”}]. Error Messages: [Consultant Certification Date must be before Apr 02, 2025{“propertyName”:[“consultant\_certification\_date”]}]. HubSpot Correlation ID: 67ed5f38-0000-0000-2b18-b05f441e483b  
Can somebody help me there 🙂

---

<div class="post-metadata">

**Author:** ![MichaelMa](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@MichaelMa](https://community.hubspot.com/u/MichaelMa)\
**Post date:** [April 2, 2025, 4:22pm UTC](https://community.hubspot.com/t/error-invalid-before-duration/129133/2 "2025-04-02T16:22:49Z")

</div>

Do you have a rule applied to the Date field? There’s a specific rule for past dates only.

 ![MichaelMa_0-1743610951298.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/5/358a2517dc4cf50333935a73a92f0f4d8500993f.png)

---

<div class="post-metadata">

**Author:** ![AFavre5](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@AFavre5](https://community.hubspot.com/u/AFavre5)\
**Post date:** [April 2, 2025, 4:35pm UTC](https://community.hubspot.com/t/error-invalid-before-duration/129133/3 "2025-04-02T16:35:03Z")

</div>

You know your stuff. It was that.  
Thanks a bunch!!
