# Devices no longer syncing with AWS IOT and no longer connecting to TTN

**URL:** <https://www.thethingsnetwork.org/forum/t/devices-no-longer-syncing-with-aws-iot-and-no-longer-connecting-to-ttn/41582>\
**Category:** AWS\
**Created:** [November 23, 2020, 11:07pm UTC](https://www.thethingsnetwork.org/forum/t/devices-no-longer-syncing-with-aws-iot-and-no-longer-connecting-to-ttn/41582 "2020-11-23T23:07:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![delads](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/delads/32/36019_2.png) [@delads](https://www.thethingsnetwork.org/forum/u/delads)\
**Post date:** [November 23, 2020, 11:07pm UTC](https://www.thethingsnetwork.org/forum/t/devices-no-longer-syncing-with-aws-iot-and-no-longer-connecting-to-ttn/41582/1 "2020-11-23T23:07:53Z")

</div>

Hi there

I recently integrated TTN with AWS IOT and everything worked great. Devices were synchronizing with AWS and data was flowing though the correct MQTT topics etc. However, I wanted to reorganise my applications and devices (to get some better hierarchy in place) and I may have messed stuff up. I wiped the slate clean removing all my applications/devices and started again. However, even though I have new application IDs and new device IDs I have 2 problems  
\* My devices are no longer viewable on the network even tough I have confirmed my gateway is connected to TTN  
\* My devices no longer sync with AWS IOT Core

I fear I’ve corrupted the thing registry and it’s affecting the state of any new devices being added? Any help would be greatly appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [November 24, 2020, 2:05pm UTC](https://www.thethingsnetwork.org/forum/t/devices-no-longer-syncing-with-aws-iot-and-no-longer-connecting-to-ttn/41582/2 "2020-11-24T14:05:21Z")

</div>

Deleting application & devices from TTN, as far as we know, mean they are flagged as deleted and then various elements of the EUI’s & device id’s can not then be re-used. You won’t have corrupted the TTN registry, just shot yourself in the foot.

I’d look at getting a device working in the first instance. Then a device that shares some of the settings with an existing device, to find out exactly what you can re-use. And then plan for visiting each device.
