# OTAA Join Debugging

**URL:** <https://www.thethingsnetwork.org/forum/t/otaa-join-debugging/35992>\
**Category:** Uncategorized\
**Created:** [April 7, 2020, 3:18pm UTC](https://www.thethingsnetwork.org/forum/t/otaa-join-debugging/35992 "2020-04-07T15:18:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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 7, 2020, 4:45pm UTC](https://www.thethingsnetwork.org/forum/t/otaa-join-debugging/35992/2 "2020-04-07T16:45:44Z")

</div>

> [@krobidiotics](#):
>
> Is there some utility to decode the payload, knowing the App\_Key?

You can validate the MIC of a full LoRaWAN OTAA Join Request (as seen in the gateway’s Traffic page) [using this online decoder](http://runkit.io/avbentem/lorawan-packet-decoder/branches/master); set a dummy value for NwkSKey (e.g., `00`; it’s not used), and paste your AppKey as known in TTN Console as the AppSKey.

> [@krobidiotics](#):
>
> set the LORAWAN\_JOIN\_EUI and LORAWAN\_APP\_KEY constants in Commissioning.h

Any chance this is a LoRaWAN 1.1 device, and hence is using an incremental value for the DevNonce? If yes, aren’t you seeing [OTAA shows "Activation DevNonce not valid: already used"](https://www.thethingsnetwork.org/forum/t/otaa-shows-activation-devnonce-not-valid-already-used/5079)? Also, do you still see “Status: not seen” for the device? (If not, then the Join Request was accepted at least once.)

(Aside: in the Data page in TTN Console you won’t ever see a Join Request, but an “Activation”. Just like a Join Request in the gateway’s Traffic page, it has an orange icon.)

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/otaa-join-debugging/35992)._
