# \#amazon

**URL:** https://forums.digi.com/tag/amazon/4640.md

[Latest](https://forums.digi.com/latest.md) · [Categories](https://forums.digi.com/categories.md) · [Tags](https://forums.digi.com/tags.md)

---

## [Digi Xbee3 LTE-M connection to AWS, how to resolve Bytes index out of range error?](https://forums.digi.com/t/digi-xbee3-lte-m-connection-to-aws-how-to-resolve-bytes-index-out-of-range-error/22362)

<div class="topic-metadata">

**Author:** [@CarlMisco](https://forums.digi.com/u/CarlMisco)\
**Replies:** 1\
**Last updated:** [April 22, 2021, 11:44am UTC](https://forums.digi.com/t/digi-xbee3-lte-m-connection-to-aws-how-to-resolve-bytes-index-out-of-range-error/22362 "2021-04-22T11:44:11Z")

</div>

I have been running into this error while running the script from umqtt, its getting snagged at the end of the connect() function, I’m not sure how to resolve this issue. Im trying to finalize the connection to AWS IoT c…
