# Webhook error

**URL:** <https://forum.mautic.org/t/webhook-error/11843>\
**Category:** Product Support\
**Created:** [December 1, 2019, 8:38pm UTC](https://forum.mautic.org/t/webhook-error/11843 "2019-12-01T20:38:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iskender](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/iskender/32/1259_2.png) [@iskender](https://forum.mautic.org/u/iskender)\
**Post date:** [December 1, 2019, 8:38pm UTC](https://forum.mautic.org/t/webhook-error/11843/1 "2019-12-01T20:38:38Z")

</div>

**Your software**  
My Mautic version is: 2.15.1  
My PHP version is: 5.6.40

**Your problem**  
Hi,

I have just setup a Mautic installation using Amazon SES/SNS for sending emails. I’m able to send e-mails without any problems. However I keep on getting errors with the webhook.

On Amazon SNS I have subscribed to the topic [https://mysite.com/mautic/mailer/amazon/callback](https://mysite.com/mautic/mailer/amazon/callback) and got it confirmed. The notifications from the SES side is also configured for bounces and complaints. But when I test it from Mautic\>Webhooks I got an “Error Detected message” with the following details:

Bad Request var mauticBasePath = ‘/mautic’; var mauticBaseUrl = ‘/mautic/’; var mauticAjaxUrl = ‘/mautic/s/ajax’; var mauticAjaxCsrf =

These errors are showing in the log:  
[2019-12-01 19:37:48] mautic.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\HttpException: “Key ‘Type’ not found in payload " at /home/mysite/public\_html/mautic/app/bundles/EmailBundle/Swiftmailer/Transport/AmazonTransport.php line 116 {“exception”:”[object] (Symfony\Component\HttpKernel\Exception\HttpException(code: 0): Key ‘Type’ not found in payload at /home/mysite/public\_html/mautic/app/bundles/EmailBundle/Swiftmailer/Transport/AmazonTransport.php:116)"}

PS: “mysite” is shown as placeholder only.

Steps I have tried to fix the problem: ?

---

<div class="post-metadata">

**Author:** ![gregorybrad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gregorybrad/32/2415_2.png) [@gregorybrad](https://forum.mautic.org/u/gregorybrad)\
**Post date:** [May 21, 2020, 8:06am UTC](https://forum.mautic.org/t/webhook-error/11843/2 "2020-05-21T08:06:30Z")

</div>

Have a look here :[https://github.com/mautic/mautic/issues/7743](https://github.com/mautic/mautic/issues/7743)

Something about RAW messages
