# 500 internal server error in webook campaign

**URL:** <https://forum.mautic.org/t/500-internal-server-error-in-webook-campaign/25308>\
**Category:** Product Support\
**Created:** [September 6, 2022, 1:20am UTC](https://forum.mautic.org/t/500-internal-server-error-in-webook-campaign/25308 "2022-09-06T01:20:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![4lead](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/4lead/32/7029_2.png) [@4lead](https://forum.mautic.org/u/4lead)\
**Post date:** [September 6, 2022, 1:20am UTC](https://forum.mautic.org/t/500-internal-server-error-in-webook-campaign/25308/1 "2022-09-06T01:20:44Z")

</div>

**Your software**  
My Mautic version is: 4.4.2  
My PHP version is:8  
My Database type and version is:

**Your problem**  
My problem is: 500 internal server when i want to make webhook campaign  
i tried to clear the cache but still the same problem  
is there any solution for this issue?

 ![Screenshot 2022-09-06 031737](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/1/1d8ebdfef4785be170c729569bd2822ac3d24895.png)

These errors are showing in the log:

Steps I have tried to fix the problem:

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [September 6, 2022, 6:54am UTC](https://forum.mautic.org/t/500-internal-server-error-in-webook-campaign/25308/2 "2022-09-06T06:54:21Z")

</div>

Hi, could you plz share the webhook call? (with mock url)

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [September 6, 2022, 7:53am UTC](https://forum.mautic.org/t/500-internal-server-error-in-webook-campaign/25308/3 "2022-09-06T07:53:54Z")

</div>

And monitor the /var/logs/ and copy the error with any potential sensitive data masked. 500 means app crashed so there should be a log of an error.

---

<div class="post-metadata">

**Author:** ![4lead](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/4lead/32/7029_2.png) [@4lead](https://forum.mautic.org/u/4lead)\
**Post date:** [September 6, 2022, 12:28pm UTC](https://forum.mautic.org/t/500-internal-server-error-in-webook-campaign/25308/4 "2022-09-06T12:28:34Z")

</div>

Hi Joeyk  
what do you mean by webhook call?

---

<div class="post-metadata">

**Author:** ![4lead](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/4lead/32/7029_2.png) [@4lead](https://forum.mautic.org/u/4lead)\
**Post date:** [September 6, 2022, 12:32pm UTC](https://forum.mautic.org/t/500-internal-server-error-in-webook-campaign/25308/5 "2022-09-06T12:32:09Z")

</div>

[2022-09-06 14:31:11] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Form\Exception\RuntimeException: “A cycle was detected. Listeners to the PRE\_SET\_DATA event must not call getViewData() if the form data has not already been set.” at /var/www/html/mautic/vendor/symfony/form/Form.php line 463 {“exception”:“[object] (Symfony\Component\Form\Exception\RuntimeException(code: 0): A cycle was detected. Listeners to the PRE\_SET\_DATA event must not call getViewData() if the form data has not already been set. at /var/www/html/mautic/vendor/symfony/form/Form.php:463)”} {“hostname”:“mautic”,“pid”:2076902}  
[2022-09-06 12:31:16] mautic.WARNING: PHP Warning - Undefined array key “path” - in file /var/www/html/mautic/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 111 {“hostname”:“mautic”,“pid”:2077350}
