# Decoder problem

**URL:** <https://www.thethingsnetwork.org/forum/t/decoder-problem/30338>\
**Category:** Application Development\
**Created:** [September 29, 2019, 8:56am UTC](https://www.thethingsnetwork.org/forum/t/decoder-problem/30338 "2019-09-29T08:56:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gigi130358](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/gigi130358/32/36137_2.png) [@gigi130358](https://www.thethingsnetwork.org/forum/u/gigi130358)\
**Post date:** [September 29, 2019, 8:56am UTC](https://www.thethingsnetwork.org/forum/t/decoder-problem/30338/1 "2019-09-29T08:56:41Z")

</div>

Hi,  
lately I have some problems associated with the decoding of the payload that occasionally doesn’t seem to be translated by the TTN application decoder.  
All begin from an error raised by the Thingsboard aplication server Data Converter due to missing data in the input coming from TTN, that usually contains value of temperature, battery … decoded by TTN  
 ![TB-dataCoverterInputOK](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/a/a/aa30e5df36a9dde514e924f1e88b87961a208101.gif)

… but in some rarely case they are missing:  
 ![TB-dataCoverterInput](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/3/9/39941d00031932be45dd8450ce61ec069f23053c.gif)  
This is also confirmed in “Data Storage” integration  
 ![immagine](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/7/9/79faa6c35a80fd2109da4c64cd98f98ff9ffc20f.png)  
Translating the payload\_raw (“A/mOFZwQAJFk”) in a byte array (“03 f9 8e 15 9c 10 00 91 64” ) and inserting it in the TTN decoder, it give me the correct decoded data.  
 ![decodedPayload](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/2/5/253175569fa42c5e4b74b7114201ed3de59e5bac.gif)  
So it doesn’t seem an incorrect payload but more an occasional problem related to TTN backend decoder functionality, anyone have experienced issue like this ?  
Thanks,  
Gianluigi

---

<div class="post-metadata">

**Author:** ![jenertsA](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jenertsa/32/37682_2.png) [@jenertsA](https://www.thethingsnetwork.org/forum/u/jenertsA)\
**Post date:** [September 30, 2019, 9:47am UTC](https://www.thethingsnetwork.org/forum/t/decoder-problem/30338/2 "2019-09-30T09:47:31Z")

</div>

Yes,  
didn’t take screenshot, but saw the same thing few days ago.  
I have node-red connected to TTN, and one day I hade error form my system that unrecognized data came in - RAW data was there, but fields were not decoded.

---

<div class="post-metadata">

**Author:** ![gigi130358](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/gigi130358/32/36137_2.png) [@gigi130358](https://www.thethingsnetwork.org/forum/u/gigi130358)\
**Post date:** [October 1, 2019, 6:23am UTC](https://www.thethingsnetwork.org/forum/t/decoder-problem/30338/3 "2019-10-01T06:23:56Z")

</div>

In my case 3 times of missing data from TTN decoder, cause TB data converter to be put in a blacklist.  
So I’m evaluating to insert a more detailed data validity check or the decoder itself in the TB data converter.  
Thanks for your feedback

---

<div class="post-metadata">

**Author:** ![jenertsA](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jenertsa/32/37682_2.png) [@jenertsA](https://www.thethingsnetwork.org/forum/u/jenertsA)\
**Post date:** [October 1, 2019, 7:07am UTC](https://www.thethingsnetwork.org/forum/t/decoder-problem/30338/4 "2019-10-01T07:07:13Z")

</div>

I decode most of messages in node-red, but some use fields from TTN decoder.  
if function tries to read data that isn’t there we get error that something isn’t right. Yesterday again data from TTN came in without decoded fields. Got error catch on our slack  
 ![Slack_LI](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/9/1/910f27aa7987c7045520303faad84e7d07cf070a.jpeg)
