Getting "lorawan txpkt encryption failed" with OTAA on SAMR34

Hallo everyone,
Currently I am doing a Project based on ATSAMR34. The application is based on OVER_THE_AIR_ACTIVATION.
while debugging the LoRaWAN Application program , I got a mesage “LORAWAN_TXPKT_ENCRYPTION_FAILED”.
During this period I have not started with activation procedure.
What can be the possible reasons ??

if anyone has an idea on the same kindly please share!!

Can anyone help

Closing this as I assume your current problem is described in your last post, LORAWAN Initalisation failed- ATSAMR34, as indicated in your other topic, Samr34 problem with call back function.