# Error in 'submittedAt'

**URL:** <https://community.hubspot.com/t/error-in-submittedat/15310>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [July 15, 2019, 3:54pm UTC](https://community.hubspot.com/t/error-in-submittedat/15310 "2019-07-15T15:54:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ariel\_cu4tro](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ariel_cu4tro/32/65671_2.png) [@ariel\_cu4tro](https://community.hubspot.com/u/ariel_cu4tro)\
**Post date:** [July 15, 2019, 3:54pm UTC](https://community.hubspot.com/t/error-in-submittedat/15310/1 "2019-07-15T15:54:41Z")

</div>

I have a API form in React and i when send this form the server answer me:

errorType: INVALID\_TIMESTAMP

message: Error in ‘submittedAt’. Invalid timestamp 1563205697097. Provide a UTC value that is not in the future or too far in the past.

The server have the hour correct

---

<div class="post-metadata">

**Author:** ![Derek\_Gervais](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/derek_gervais/32/17429_2.png) [@Derek\_Gervais](https://community.hubspot.com/u/Derek_Gervais)\
**Post date:** [July 16, 2019, 7:36am UTC](https://community.hubspot.com/t/error-in-submittedat/15310/2 "2019-07-16T07:36:54Z")

</div>

Hey [@ariel\_cu4tro](https://community.hubspot.com/t5/user/viewprofilepage/user-id/91750) ,

That timestamp doesn’t appear to be far enough in the past to trigger that error; couple questions to help narrow down what’s going on:

- Is this happening with every form submission?
- Do you happen to have a raw form submission request body that I can look at?
- Is it possible that you’re submitting values that are ahead of the current timestamp in UTC?
- The `submittedAt` field is optional; are you able/willing to exclude that field from your request?

---

<div class="post-metadata">

**Author:** ![pedro380085](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pedro380085/32/103237_2.png) [@pedro380085](https://community.hubspot.com/u/pedro380085)\
**Post date:** [October 23, 2020, 3:04am UTC](https://community.hubspot.com/t/error-in-submittedat/15310/3 "2020-10-23T03:04:31Z")

</div>

[@Derek\_Gervais](https://community.hubspot.com/t5/user/viewprofilepage/user-id/142) What is considered “too far in the past”? 1 year? 6 months? Thanks

---

<div class="post-metadata">

**Author:** ![rajan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rajan/32/43872_2.png) [@rajan](https://community.hubspot.com/u/rajan)\
**Post date:** [January 10, 2022, 3:39am UTC](https://community.hubspot.com/t/error-in-submittedat/15310/4 "2022-01-10T03:39:46Z")

</div>

Hey, I am getting the same error.

---

<div class="post-metadata">

**Author:** ![pedro380085](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pedro380085/32/103237_2.png) [@pedro380085](https://community.hubspot.com/u/pedro380085)\
**Post date:** [October 23, 2020, 3:41am UTC](https://community.hubspot.com/t/error-in-submittedat/15310/5 "2020-10-23T03:41:16Z")

</div>

We are bringing our data from another platform and we want to import our form submissions to our Hubspot account.
