# AWS SES API returns error mautic 3.1

**URL:** <https://forum.mautic.org/t/aws-ses-api-returns-error-mautic-3-1/15862>\
**Category:** Product Support\
**Created:** [August 29, 2020, 10:13am UTC](https://forum.mautic.org/t/aws-ses-api-returns-error-mautic-3-1/15862 "2020-08-29T10:13:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dilshad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dilshad/32/1300_2.png) [@dilshad](https://forum.mautic.org/u/dilshad)\
**Post date:** [August 29, 2020, 10:13am UTC](https://forum.mautic.org/t/aws-ses-api-returns-error-mautic-3-1/15862/1 "2020-08-29T10:13:26Z")

</div>

**Your software**  
My Mautic version is: 3.1  
My PHP version is:

**Your problem**  
My problem is: I have tried sending test email using AWS SES api in mautic, but receives error as: Token amount (2) is larger than the capacity (1). AWS SES smtp is working fine.

These errors are showing in the log: [2020-08-29 10:05:03] mautic.ERROR: [MAIL ERROR] Token amount (2) is larger than the capacity (1). (send); [dilshadh.clt@gmail.com](mailto:dilshadh.clt@gmail.com) {“exception”:"[object] (Swift\_TransportException(code: 0): Token amount (2) is larger than the capacity (1). at /var/www/html/mautic/app/bundles/EmailBundle/Swiftmailer/Transport/AbstractTokenArrayTransport.php:300)"}

Steps I have tried to fix the problem: Not able to fix issue. Please help me to fix this.

---

<div class="post-metadata">

**Author:** ![rgbguy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rgbguy/32/652_2.png) [@rgbguy](https://forum.mautic.org/u/rgbguy)\
**Post date:** [September 6, 2020, 5:02pm UTC](https://forum.mautic.org/t/aws-ses-api-returns-error-mautic-3-1/15862/2 "2020-09-06T17:02:40Z")

</div>

> <https://github.com/mautic/mautic/pull/9150>

This being worked on currently likely ready in next patch.

Mohammed Abu Musa

Gave me an update here.

> **[Facebook Groups](https://m.facebook.com/groups/799539593499967?view=permalink&id=3253678388086063)**
>
> Mautic Community has 2,009 members. The Mautic Community is a Facebook group where everyone can share their experiences, ask for feedback or offer interesting marketing automation related news. Oh,...
