# Data Uploading stopped after few minutes, Why?!

**URL:** <https://forums.losant.com/t/data-uploading-stopped-after-few-minutes-why/3290>\
**Category:** Bug Report\
**Tags:** mqtt, device\
**Created:** [September 28, 2020, 8:50am UTC](https://forums.losant.com/t/data-uploading-stopped-after-few-minutes-why/3290 "2020-09-28T08:50:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Masa\_Fahel](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@Masa\_Fahel](https://forums.losant.com/u/Masa_Fahel)\
**Post date:** [September 28, 2020, 8:50am UTC](https://forums.losant.com/t/data-uploading-stopped-after-few-minutes-why/3290/1 "2020-09-28T08:50:59Z")

</div>

Hello Losant team 🙂 ,  
I am trying the sandbox and could upload the sensor data every second. Always after 5 to 8 minutes, uploading suddenly stops, although the Arduino console says “Connecting to Losant … Connected!”. ☹ What is the problem ? How can I continue uploading for at least an hour?  
is this limitation because i’m using the free version?

Thanks …

---

<div class="post-metadata">

**Author:** ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)\
**Post date:** [September 28, 2020, 2:08pm UTC](https://forums.losant.com/t/data-uploading-stopped-after-few-minutes-why/3290/5 "2020-09-28T14:08:57Z")

</div>

Hello @Masa_Fahel,

Are you able to see any errors in your [Device Connection Log](https://docs.losant.com/devices/overview/#connection-log)? You can view it by clicking on a Device in the Device List as if you were going to update the Device’s Attributes or Tags, and on the right side of the screen, there is a panel where you can click the bug icon (similar to the debug icon in the Workflow Engine).

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/e/e4f14a0e971b96e1e1635e3309209ba66314fd74.png)

Here, when a device is disconnected or timed out, this will be the place to gather more in-depth information about the error.

Also, the device that is reporting its state to Losant, did you write the firmware for it? How is the device communicating data, via MQTT or HTTP? Could you give me more information on the Device that you are using and the environment it is in?

Any screenshots or other information you can provide will help me understand your problem better!

Thank you,  
Heath

---

<div class="post-metadata">

**Author:** ![Masa\_Fahel](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@Masa\_Fahel](https://forums.losant.com/u/Masa_Fahel)\
**Post date:** [September 29, 2020, 12:45pm UTC](https://forums.losant.com/t/data-uploading-stopped-after-few-minutes-why/3290/7 "2020-09-29T12:45:11Z")

</div>

Hello @Heath,  
Thank you for your response. I am using MKR1000 and [this code](https://github.com/Losant/losant-mqtt-arduino/blob/master/examples/mkr1010/mkr1010.ino) for communication and sending the data.

 ![Bildschirmfoto 2020-09-29 um 14.44.52](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/7/7a54951710a6b92b55d06dcc21a38aaa479eb135.png)  
The device is disconnected after a few minutes!  
Connection Logs: [Bildschirmfoto 2020-09-29 um 14.41.22|565x500](https://forums.losant.com/uploads/short-url/nx8HCYTyCVNSr08TYVvzQHkGkMp.png)

---

<div class="post-metadata">

**Author:** ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)\
**Post date:** [September 29, 2020, 3:26pm UTC](https://forums.losant.com/t/data-uploading-stopped-after-few-minutes-why/3290/9 "2020-09-29T15:26:34Z")

</div>

@Masa_Fahel,

Would you be able to provide me with your code and any screenshots of your Serial Monitor output while the device is running?

Having both of these will _really_ help me get to the bottom of this issue for you!

Thank you,  
Heath
