Use of chirpstack API

When i create an OTAA device from NS GUI it is working fine and joinrequest is accepted

When i create an OTAA device with API it doesn’t works
JoinRequest is never answered

i have seen in API there is a command to activate the device

[post] [/api/devices/{device_activation.dev_eui}/activate]

The comment is not clear for me
“Activate (re)activates the device with the given parameters (for ABP or for importing OTAA activations).”

shall i need to activate the OTAA device if i create it using API ?

Both approaches should produce the same result (the web site/GUI uses the API). You should not need to manually activatee with the /activate endpoint if using OTAA.

1 Like

Agree it was a mistake on my side.