# submittedAt

**URL:** <https://community.hubspot.com/t/submittedat/105370>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [April 21, 2024, 1:54pm UTC](https://community.hubspot.com/t/submittedat/105370 "2024-04-21T13:54:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![OronC](https://avatars.discourse-cdn.com/v4/letter/o/b5a626/32.png) [@OronC](https://community.hubspot.com/u/OronC)\
**Post date:** [April 21, 2024, 1:54pm UTC](https://community.hubspot.com/t/submittedat/105370/1 "2024-04-21T13:54:51Z")

</div>

Hello,

I’m using the legacy form API submission ([this one](https://legacydocs.hubspot.com/docs/methods/forms/submit_form)).

I’m sending ‘submittedAt’: new Date().getTime() and in the last few hours I’m getting an error saying: “Error in ‘submittedAt’. Invalid timestamp ‘1713720333000’. Provide a UTC value that is not in the future or too far in the past.”,“errorType”:“INVALID\_TIMESTAMP”.

What am I missing here?

Is there a downside to not sending the ‘submittedAt’ at all?

Thank you!

---

<div class="post-metadata">

**Author:** ![zach\_threadint](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zach_threadint/32/46318_2.png) [@zach\_threadint](https://community.hubspot.com/u/zach_threadint)\
**Post date:** [April 21, 2024, 11:59pm UTC](https://community.hubspot.com/t/submittedat/105370/2 "2024-04-21T23:59:09Z")

</div>

Hi @OronC 👋

If you’re making these requests in close to real time, this parameter can be omitted. The “submittedAt” parameter is only really intended to be used when backdating form submissions (up to 1 month in the past).

I hope that proves helpful. Please let me know if you have any follow-up questions.

---

<div class="post-metadata">

**Author:** ![OronC](https://avatars.discourse-cdn.com/v4/letter/o/b5a626/32.png) [@OronC](https://community.hubspot.com/u/OronC)\
**Post date:** [April 30, 2024, 6:49am UTC](https://community.hubspot.com/t/submittedat/105370/3 "2024-04-30T06:49:39Z")

</div>

Thank you!
