# Amazon AWS SNS ~ PendingConfirmation

**URL:** <https://forum.mautic.org/t/amazon-aws-sns-pendingconfirmation/8667>\
**Category:** Product Support\
**Created:** [June 6, 2017, 5:23pm UTC](https://forum.mautic.org/t/amazon-aws-sns-pendingconfirmation/8667 "2017-06-06T17:23:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nbatch](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nbatch/32/122_2.png) [@nbatch](https://forum.mautic.org/u/nbatch)\
**Post date:** [June 6, 2017, 5:23pm UTC](https://forum.mautic.org/t/amazon-aws-sns-pendingconfirmation/8667/1 "2017-06-06T17:23:42Z")

</div>

I have correctly verified our domain with SES but when I try to setup bounce handling I receive an error as below and the subscription stays as PendingConfirmation:

Code:

1 validation error detected: Value null at 'token' failed to satisfy constraint: Member must not be null (Service: AmazonSNS; Status Code: 400; Error Code: ValidationError; Request ID: cf1becf7-823a-518e-92ad-bd476a518e19)

  
I have the callback url as https://[mautic\_install]/mailer/amazon/callback  
  
When I tried to access the callback url directly I received this error in my logs

Code:

[2017-06-06 18:34:32] mautic.ERROR: PHP Error - Argument 1 passed to MauticEmailBundleSwiftmailerTransportAmazonTransport::processJsonPayload() must be of the type array, null given, called in /home/[redacted]/app/bundles/EmailBundle/Swiftmailer/Transport/AmazonTransport.php on line 64 and defined - in file /home/[redacted]/app/bundles/EmailBundle/Swiftmailer/Transport/AmazonTransport.php - at line 78 [] []

  
  
I have searched the forum and read through some previous post but nothing seems to fit. Nothing in mod\_security. Any advice?

---

<div class="post-metadata">

**Author:** ![nbatch](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nbatch/32/122_2.png) [@nbatch](https://forum.mautic.org/u/nbatch)\
**Post date:** [June 6, 2017, 5:23pm UTC](https://forum.mautic.org/t/amazon-aws-sns-pendingconfirmation/8667/2 "2017-06-06T17:23:42Z")

</div>

I have correctly verified our domain with SES but when I try to setup bounce handling I receive an error as below and the subscription stays as PendingConfirmation:

```auto
1 validation error detected: Value null at 'token' failed to satisfy constraint: Member must not be null (Service: AmazonSNS; Status Code: 400; Error Code: ValidationError; Request ID: cf1becf7-823a-518e-92ad-bd476a518e19)
```

I have the callback url as https://[mautic\_install]/mailer/amazon/callback

When I tried to access the callback url directly I received this error in my logs

```auto
[2017-06-06 18:34:32] mautic.ERROR: PHP Error - Argument 1 passed to MauticEmailBundleSwiftmailerTransportAmazonTransport::processJsonPayload() must be of the type array, null given, called in /home/[redacted]/app/bundles/EmailBundle/Swiftmailer/Transport/AmazonTransport.php on line 64 and defined - in file /home/[redacted]/app/bundles/EmailBundle/Swiftmailer/Transport/AmazonTransport.php - at line 78 [] []
```

I have searched the forum and read through some previous post but nothing seems to fit. Nothing in mod\_security. Any advice?

---

<div class="post-metadata">

**Author:** ![nbatch](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nbatch/32/122_2.png) [@nbatch](https://forum.mautic.org/u/nbatch)\
**Post date:** [June 6, 2017, 5:46pm UTC](https://forum.mautic.org/t/amazon-aws-sns-pendingconfirmation/8667/3 "2017-06-06T17:46:18Z")

</div>

Found the issue. Mautic didn’t like php 5.6 upgraded to php7.0 and the confirmation went straight through
