# Downlinks not working after AWS IoT TTN integration

**URL:** <https://www.thethingsnetwork.org/forum/t/downlinks-not-working-after-aws-iot-ttn-integration/34133>\
**Category:** AWS\
**Created:** [February 7, 2020, 3:32am UTC](https://www.thethingsnetwork.org/forum/t/downlinks-not-working-after-aws-iot-ttn-integration/34133 "2020-02-07T03:32:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyoncon](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/cyoncon/32/25844_2.png) [@cyoncon](https://www.thethingsnetwork.org/forum/u/cyoncon)\
**Post date:** [February 7, 2020, 3:32am UTC](https://www.thethingsnetwork.org/forum/t/downlinks-not-working-after-aws-iot-ttn-integration/34133/1 "2020-02-07T03:32:58Z")

</div>

Hello,  
I have been testing the downlink messages from the device console on TTN with and ESP32 board and a RAK2275 Gateway and was fine receiving and sending uplink and downlink messages.  
After I deployed the Cloudformation template for AWS integration I started viewing empty payload messages on port 0:

![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/a/d/ad52eec61e8154fd91188345b5b6ed9fbb1bfe9e.png)

I can see the shadow file been created and sync with the uplink messages, but when I try to change the state shadow and send a delta the downlink is not even received by the gateway:

![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/2/0/2045aa6b09d814dbea01146b7e6ded14c286919b.png)

The downlink test is not working either.  
When I delete the Elastic Beanstalk stack, the downlinks start working again and the empty port 0 messages dissapear.

Have anyone experienced this and do you have a solution?

Thanks in advance
