Error type "UPLINK_MIC"

Good morning,

I have this error in chirpstack even if I turned off ADR. I have a LoRa-E5-mini and I checked all the session key (devaddr, network key, app key) and everything is right;

Is anyone meet this type of error with these conditions ?

Thank for your help,

This error means that the actual MIC did not match the expected MIC. Either the keys are wrong or the device is setting an incorrect MIC.

Thanks for your answer. I tried OTAA instead of ABP authentification and it’s right

That suggests either the ABP keys were not matching in both systems, or perhaps that the node was reset and restarting from frame count 0 - LoRaWAN requires that the frame count increment, so a device is required to store this knowledge and resume where it left off on reset, but many devices including manufacturer demos don’t properly implement this.

An OTAA node has the same requirement within a join session, but each join session is unique set of device address and keys and the frame count does start over in the context of that session.