# /mailer/amazon/callback is not working - 404 error

**URL:** <https://forum.mautic.org/t/mailer-amazon-callback-is-not-working-404-error/15305>\
**Category:** Product Support\
**Created:** [July 20, 2020, 10:58pm UTC](https://forum.mautic.org/t/mailer-amazon-callback-is-not-working-404-error/15305 "2020-07-20T22:58:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielfrancoso](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/danielfrancoso/32/2938_2.png) [@danielfrancoso](https://forum.mautic.org/u/danielfrancoso)\
**Post date:** [July 20, 2020, 10:58pm UTC](https://forum.mautic.org/t/mailer-amazon-callback-is-not-working-404-error/15305/1 "2020-07-20T22:58:57Z")

</div>

**Your software**  
My Mautic version is: 3.0.1  
My PHP version is: 7.3.20

**Your problem**  
My problem is: I’m trying to setup Amazon SNS to remove bounce emails but my signature is still pending. I’m using a Hostgator VPS.

These errors are showing in the log: loudWatch Logs below

{  
“notification”: {  
“messageId”: “4f1f66a3-6f51-4c27-8473-de9d03bf9c35”,  
“topicArn”: “arn:aws:sns:us-east-1:600022727559:Mautic”,  
“timestamp”: “2020-07-20 22:44:24.669”  
},  
“delivery”: {  
“deliveryId”: “204ab559-2ae3-5004-8df9-e2c90a6babbe”,  
“destination”: “[https://clicklink.turbox.me/mailer/amazon/callback](https://clicklink.turbox.me/mailer/amazon/callback)”,  
“providerResponse”: “Not Found”,  
“dwellTimeMs”: 645,  
“attempts”: 1,  
“statusCode”: 404  
},  
“status”: “SUCCESS”  
}

Steps I have tried to fix the problem: I tried to change the port and disable CloudFlare

---

<div class="post-metadata">

**Author:** ![danielfrancoso](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/danielfrancoso/32/2938_2.png) [@danielfrancoso](https://forum.mautic.org/u/danielfrancoso)\
**Post date:** [July 21, 2020, 12:04pm UTC](https://forum.mautic.org/t/mailer-amazon-callback-is-not-working-404-error/15305/2 "2020-07-21T12:04:06Z")

</div>

When I disable the Cloudflare’s SSL/TLS the status code change to 301.

---

<div class="post-metadata">

**Author:** ![danielfrancoso](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/danielfrancoso/32/2938_2.png) [@danielfrancoso](https://forum.mautic.org/u/danielfrancoso)\
**Post date:** [July 21, 2020, 12:41pm UTC](https://forum.mautic.org/t/mailer-amazon-callback-is-not-working-404-error/15305/3 "2020-07-21T12:41:32Z")

</div>

I was using ‘Another SMTP server’ and the port 2587 was blocked.  
I changed to AMAZON SES service and change the port to 587 on code.

---

<div class="post-metadata">

**Author:** ![lozoming](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lozoming/32/738_2.png) [@lozoming](https://forum.mautic.org/u/lozoming)\
**Post date:** [July 22, 2020, 3:11pm UTC](https://forum.mautic.org/t/mailer-amazon-callback-is-not-working-404-error/15305/4 "2020-07-22T15:11:05Z")

</div>

I have this same issue but I had to configure as Another SMTP Server because my server location is not under the Amazon SES dropdown. Any ideas?

---

<div class="post-metadata">

**Author:** ![lozoming](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lozoming/32/738_2.png) [@lozoming](https://forum.mautic.org/u/lozoming)\
**Post date:** [July 23, 2020, 12:14am UTC](https://forum.mautic.org/t/mailer-amazon-callback-is-not-working-404-error/15305/5 "2020-07-23T00:14:39Z")

</div>

I just switched the region to one of the supported dropdown options in Mautic and resolve the problem. This issue should perhaps make the option of servers accept manual input for Amazon SES.

---

<div class="post-metadata">

**Author:** ![Shaz3e](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/shaz3e/32/236_2.png) [@Shaz3e](https://forum.mautic.org/u/Shaz3e)\
**Post date:** [December 26, 2020, 8:09pm UTC](https://forum.mautic.org/t/mailer-amazon-callback-is-not-working-404-error/15305/6 "2020-12-26T20:09:13Z")

</div>

I am also having the same issue with the call back /mailer/amazon/callback its not working for me for SNS

Edit: I was digging around and found a solution which is mentioned [here](https://forum.mautic.org/t/3-1-0-ses-api-working-but-not-sns-404-worker-amazon-callback/15832/10)

Solution:  
If you use Amazon SES API you must include the call back with amazon\_api `/mailer/amazon_api/callback`
