I am unable to create a gateway using STM32 P-Nucleo-LRWAN2 module. It is showing already exists. Please help.
This is the error which I am receiving.
{
“code”: 6,
“message”: “error:pkg/identityserver/store:id_taken (ID already taken, choose a different one and try again)”,
“details”: [
{
“@type”: “type.googleapis.com/ttn.lorawan.v3.ErrorDetails”,
“namespace”: “pkg/identityserver/store”,
“name”: “id_taken”,
“message_format”: “ID already taken, choose a different one and try again”,
“correlation_id”: “21292fabb0a94e2e9e347f5ed09977e1”,
“cause”: {
“namespace”: “pkg/identityserver/bunstore”,
“name”: “already_exists”,
“message_format”: “already exists”,
“correlation_id”: “cbaf20c8d8e344549b3f37f8ca1101ef”,
“code”: 6
},
“code”: 6
}
]
}
It tells you everything you need to do in the message, please format it with the </> tool.
This is part of what you need to know, the other part isn’t such good news I’m afraid.
The STM32 P-Nucleo-LRWAN2 has an issue that prevents it being able to use the full power range that it should do as a proper gateway - so your experience with devices may be impacted and it may well impact other TTN users in the area, so if you can setup your own stack that would be preferable.
Erm….perhaps because that Gateway ID has already be used by someone else? !
If you chose something a bit obvious or potentially chosen by someone else there is always a chance that you will clash…… avoid things like “myttngw” or “nucleogw” etc. and think of something more around your personal or organisations needs or location based e.g. nsplnucleogw1 or northfarmgw22 or whatever. You can also go with a default of using eui-‘gweuicode’. Personally I find a list of eui impenetrable beyond a few gws so depends on your ambitions for number of gws I use a form of ‘org-type-general_locale’ etc. e.g. g-s3-testgw012-laird-sl3 tells me a lot from a quick scan down a list
Thank you so much for the solution. I have set a different gateway id as suggested by you and now I am able to connect with the things network server.
This worked for me.
-Regards
{
"code": 6,
"message": "error:pkg/identityserver/store:id_taken (ID already taken, choose a different one and try again)",
"details": [
{
"@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails",
"namespace": "pkg/identityserver/store",
"name": "id_taken",
"message_format": "ID already taken, choose a different one and try again",
"correlation_id": "17c835df6c4c4963bb16cf312d4e0028",
"cause": {
"namespace": "pkg/identityserver/bunstore",
"name": "already_exists",
"message_format": "already exists",
"correlation_id": "9dcb0470e85543a5933dc95e331f12d3",
"code": 6
},
"code": 6
}
]
}```
What can i do?
It could be if EUI derived and if the EUI is MAC based…system will potentially autopopulate a name (Gateway ID) based on EUI and if that has been registered before then it will tell you the ID has been used already. Gateway ID can be overwritten with a convenient name of your choosing…
…as Nick says PLEASE read the thread and if needed search…
Simply put Gateway EUI =/= Gateway ID unless you set it thus!
I am Also facing the same issue:
I had created the device and deleted it as I wanted to do some changes and Re-added it. Now I am unable to add it back.