submittedAt

Hello,

I’m using the legacy form API submission (this one).

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!

Hi @OronC :waving_hand:

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.

Thank you!