# Please explain this error

**URL:** <https://forum.wixstudio.com/t/please-explain-this-error/40426>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [August 22, 2020, 3:56pm UTC](https://forum.wixstudio.com/t/please-explain-this-error/40426 "2020-08-22T15:56:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bill65358](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/bill65358/32/18085_2.png) [@bill65358](https://forum.wixstudio.com/u/bill65358)\
**Post date:** [August 22, 2020, 3:56pm UTC](https://forum.wixstudio.com/t/please-explain-this-error/40426/1 "2020-08-22T15:56:24Z")

</div>

I folks, could someone be so kind as to explain what this error means? I get it when trying to submit new data from a form. The weird bit is, I’m not even using to code to do the insert.

The value parameter that is passed to the value method cannot be set to the value [object Object]. It must be of type date.

P.S. I take the date picker out and it all works fine.

---

<div class="post-metadata">

**Author:** ![bill65358](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/bill65358/32/18085_2.png) [@bill65358](https://forum.wixstudio.com/u/bill65358)\
**Post date:** [August 22, 2020, 5:08pm UTC](https://forum.wixstudio.com/t/please-explain-this-error/40426/2 "2020-08-22T17:08:45Z")

</div>

never mind. just using code to insert now and its fine.
