Fail to get the keys by API if the device is ABP mode

[/api/devices/{dev_eui}/keys]

The server always respond “object does not exist”, but if switch to an OTAA device, it works.
Seems the API is designed only for OTAA device, what about ABP device?

ABP devices only have session-keys, no root keys (which is what you are trying to retrieve) :slight_smile:

Hi Brocaar,

Thanks for your reply.
Then if I create a ABP device by API, how can I update the session keys of this device?

Anybody else has similar question? Can only update ABP key by Web of application server?

You use the .../activate API endpoint. Note that the web-interface is built on top of the API, so everything you see in the web-interface is possible using the API :slight_smile:

Thank you so much:laughing: