# In TTN Gateway Traffic is shown but the Application data is not shown

**URL:** <https://www.thethingsnetwork.org/forum/t/in-ttn-gateway-traffic-is-shown-but-the-application-data-is-not-shown/33827>\
**Category:** Application Development\
**Created:** [January 30, 2020, 9:19am UTC](https://www.thethingsnetwork.org/forum/t/in-ttn-gateway-traffic-is-shown-but-the-application-data-is-not-shown/33827 "2020-01-30T09:19:46Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![adarshd](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/adarshd/32/25844_2.png) [@adarshd](https://www.thethingsnetwork.org/forum/u/adarshd)\
**Post date:** [January 30, 2020, 9:19am UTC](https://www.thethingsnetwork.org/forum/t/in-ttn-gateway-traffic-is-shown-but-the-application-data-is-not-shown/33827/1 "2020-01-30T09:19:46Z")

</div>

In TTN Gateway Traffic is shown but the Application data is not shown checked keys as i am using ABP method to join and gateway is dragino LG308,and using customised payload format…i checked by switching to cayenne packet format.then also same problem persists.

---

<div class="post-metadata">

**Author:** ![schimmi](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/schimmi/32/25844_2.png) [@schimmi](https://www.thethingsnetwork.org/forum/u/schimmi)\
**Post date:** [January 30, 2020, 7:27pm UTC](https://www.thethingsnetwork.org/forum/t/in-ttn-gateway-traffic-is-shown-but-the-application-data-is-not-shown/33827/2 "2020-01-30T19:27:44Z")

</div>

You may have checked the “Frame Counter Checks” Flag in the Settings Page of the Device and Restarted your Device. Because of this the Framecounter started from 0 again, but a higher Framecounter is expected.

---

<div class="post-metadata">

**Author:** ![adarshd](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/adarshd/32/25844_2.png) [@adarshd](https://www.thethingsnetwork.org/forum/u/adarshd)\
**Post date:** [January 31, 2020, 11:10am UTC](https://www.thethingsnetwork.org/forum/t/in-ttn-gateway-traffic-is-shown-but-the-application-data-is-not-shown/33827/3 "2020-01-31T11:10:22Z")

</div>

hey Schimmi,

Thanks for the reply issue got solved. In application, payload format and port no was missing in Device code was in custom mode and decoder function was empty. After coding in decoder function issue got resolved.

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [February 12, 2020, 9:46am UTC](https://www.thethingsnetwork.org/forum/t/in-ttn-gateway-traffic-is-shown-but-the-application-data-is-not-shown/33827/4 "2020-02-12T09:46:37Z")

</div>

Are you saying the there was no code at all in the Decoder, and that stopped the raw data from showing in the application/device’s Data page too?

I cannot reproduce this; I simply see the raw (non-decoded) data in all the following error situations:

- When the Decoder throws an unexpected error (say `throws "oops"`)
- When the Decoder returns something that cannot be represented as JSON (say `return null`)
- When the Decoder defines _some_ code, but does not define `function Decoder(bytes, port)`
- When the Decoder is just whitespace
- When the Decoder is empty (which, after saving, makes TTN Console show the example code, in gray, without any syntax highlighting, just like when hitting “remove decoder”)

In the screenshot below, counters 18, 19 and 20 show the results for erroneous Decoder functions:

![Non-decoded data](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/a/b/ab48b975c97fdba4618dbb00500fbe0be3220cf0.png)

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [February 12, 2020, 10:12am UTC](https://www.thethingsnetwork.org/forum/t/in-ttn-gateway-traffic-is-shown-but-the-application-data-is-not-shown/33827/5 "2020-02-12T10:12:35Z")

</div>

Oh, given [your other post](https://www.thethingsnetwork.org/forum/t/in-abp-joining-method-end-nodes-used-to-freeze/34279), it seems you changed some other settings (actually: disabled the frame counter checks), which probably “solved” this.

Note that disabling the frame counter checks should really only be done during development, [and needs changes in your device to take care of the downlink counters](https://www.thethingsnetwork.org/forum/t/abp-node-stopped-working-fixed-by-creating-new-abp-why/3200/7). (@schimmi, you might want to read about that too; don’t disable that for production devices.)

---

<div class="post-metadata">

**Author:** ![Zercho](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/zercho/32/25844_2.png) [@Zercho](https://www.thethingsnetwork.org/forum/u/Zercho)\
**Post date:** [April 16, 2020, 1:29pm UTC](https://www.thethingsnetwork.org/forum/t/in-ttn-gateway-traffic-is-shown-but-the-application-data-is-not-shown/33827/6 "2020-04-16T13:29:27Z")

</div>

Hello everybody,  
I have the exact same problem adarshd is describing.  
I did enable the Storage Integration and I can see some data there if I connect to the Swagger UI  
example:  
Heat-Meter  
{“device\_id”:“bg\_top8”,“raw”:“UZgAAAAAAAAAAAA=”,“time”:“2020-04-15T01:39:17.174112961Z”}  
{“device\_id”:“bg\_top8”,“raw”:“UZgAAAAAAAAAAAA=”,“time”:“2020-04-15T02:38:41.182620398Z”}  
{“device\_id”:“bg\_top8”,“raw”:“UZsAAAAAAAAAAAA=”,“time”:“2020-04-16T01:39:08.323960813Z”}  
{“device\_id”:“bg\_top8”,“raw”:“UZsAAAAAAAAAAAA=”,“time”:“2020-04-16T02:38:56.324439372Z”}

Water-Meter:  
{“device\_id”:“bg\_water\_meter”,“raw”:“EaIQAAA=”,“time”:“2020-04-15T00:23:59.396579386Z”}  
{“device\_id”:“bg\_water\_meter”,“raw”:“EaIQAAA=”,“time”:“2020-04-15T01:24:18.973870276Z”}  
{“device\_id”:“bg\_water\_meter”,“raw”:“kQwBkCQAAAAAAAA=”,“time”:“2020-04-15T22:55:59.926604638Z”}  
{“device\_id”:“bg\_water\_meter”,“raw”:“EQsSAAA=”,“time”:“2020-04-16T00:23:51.133613635Z”}  
{“device\_id”:“bg\_water\_meter”,“raw”:“EQsSAAA=”,“time”:“2020-04-16T01:24:12.700664635Z”}

The devices (Zenner Water\_Meter and Zenner Heat\_Meter (C5)) do send data only once per day. SO maybe this is the reason I do not see it on the “Application-console” ?

additionally I was wondering how i can extract/decode the “raw” values.  
I got some documentation from Zenner to decode the something like:  
SP5: 51CD050000000000000000  
Value channel 0: 0x000005CD = 1485 (unit kWh based on the SP9.3 packet)  
Value channel 1: 0x00000000 = not available

So this Data is supposed to be hex values but when I look at my “RAW” data this is obviously not hex. (“UZsAAAAAAAAAAAA=”) -\> This is from the Storage integration and I have not put any code in the “decoder” on the Application.

how can this be converted?

Thanks a lot for your help.

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [April 16, 2020, 6:11pm UTC](https://www.thethingsnetwork.org/forum/t/in-ttn-gateway-traffic-is-shown-but-the-application-data-is-not-shown/33827/7 "2020-04-16T18:11:29Z")

</div>

The raw data is base64-encoded. You can use any base64 decoder to change it to binary data.

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [April 17, 2020, 9:31am UTC](https://www.thethingsnetwork.org/forum/t/in-ttn-gateway-traffic-is-shown-but-the-application-data-is-not-shown/33827/8 "2020-04-17T09:31:12Z")

</div>

> [@Zercho](#):
>
> … send data only once per day. SO maybe this is the reason I do not see it on the “Application-console” ?

You need to have the Data page open at the time the packets are received. (And even then sometimes nothing is shown, while, e.g., [an MQTT client](https://www.thethingsnetwork.org/docs/applications/mqtt/) does show the incoming data. I don’t know why.)

As you have the Data Storage integration enabled you might also see recent messages that were received while the page was not open. I think that goes back only a few hours, so that might explain why you don’t see those. (But even for very recent messages this too might not show anything at times; I don’t know why.) See also [Why application data is shown as historical?](https://www.thethingsnetwork.org/forum/t/why-application-data-is-shown-as-historical/8793)

---

<div class="post-metadata">

**Author:** ![Zercho](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/zercho/32/25844_2.png) [@Zercho](https://www.thethingsnetwork.org/forum/u/Zercho)\
**Post date:** [April 17, 2020, 4:18pm UTC](https://www.thethingsnetwork.org/forum/t/in-ttn-gateway-traffic-is-shown-but-the-application-data-is-not-shown/33827/9 "2020-04-17T16:18:19Z")

</div>

Thanks 🙂 It was not that easy to find the right decoder 🙂

---

<div class="post-metadata">

**Author:** ![Zercho](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/zercho/32/25844_2.png) [@Zercho](https://www.thethingsnetwork.org/forum/u/Zercho)\
**Post date:** [April 17, 2020, 4:18pm UTC](https://www.thethingsnetwork.org/forum/t/in-ttn-gateway-traffic-is-shown-but-the-application-data-is-not-shown/33827/10 "2020-04-17T16:18:47Z")

</div>

ok - Thanks a lot ! 😉

---

<div class="post-metadata">

**Author:** ![henrychanflag](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/henrychanflag/32/44392_2.png) [@henrychanflag](https://www.thethingsnetwork.org/forum/u/henrychanflag)\
**Post date:** [December 6, 2020, 1:03pm UTC](https://www.thethingsnetwork.org/forum/t/in-ttn-gateway-traffic-is-shown-but-the-application-data-is-not-shown/33827/11 "2020-12-06T13:03:16Z")

</div>

Hi adarshd,

I am facing the same problem. I am passing the data from my node to node-red. I can receive data in Gateway’s traffic but cannot find any data in Application. Therefore, node-red cannot receive any data. Trials using simulated uplink messages are working and can show data in both the Application data page and node-red. Can you share the details how you fix it?

Thanks!!
