# Error in extending "Campaign"

**URL:** <https://forum.mautic.org/t/error-in-extending-campaign/2793>\
**Category:** Development\
**Created:** [November 17, 2015, 5:19pm UTC](https://forum.mautic.org/t/error-in-extending-campaign/2793 "2015-11-17T17:19:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@dev](https://forum.mautic.org/u/dev)\
**Post date:** [November 17, 2015, 5:19pm UTC](https://forum.mautic.org/t/error-in-extending-campaign/2793/1 "2015-11-17T17:19:42Z")

</div>

Hi,  
  
  
  
I’m extended _“Campaign Builder”_ (created new _“CampaignSubscriber”_ event listener) and added new action (call _“addAction”_ method), on the pop-up placed _“datetime”_ element, after submit form I had some error:

Quote:

"Internal Server Error - Unable to transform value for property path "[date]": Expected a DateTime or DateTimeInterface."

  
Please help with this.

---

<div class="post-metadata">

**Author:** ![dev](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@dev](https://forum.mautic.org/u/dev)\
**Post date:** [November 17, 2015, 5:19pm UTC](https://forum.mautic.org/t/error-in-extending-campaign/2793/2 "2015-11-17T17:19:42Z")

</div>

Hi,

I’m extended “Campaign Builder” (created new “CampaignSubscriber” event listener) and added new action (call “addAction” method), on the pop-up placed “datetime” element, after submit form I had some error:

> [@](#):
>
> “Internal Server Error - Unable to transform value for property path “[date]”: Expected a DateTime or DateTimeInterface.”

Please help with this.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:57pm UTC](https://forum.mautic.org/t/error-in-extending-campaign/2793/3 "2020-02-02T22:57:05Z")

</div>


