Register Gateway already exist issue


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”: “”,
“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.


Thank you for the response.

I couldn’t understand the solution suggested by you. Could you please elaborate a bit?

Also why is it telling ID already taken?

Erm….perhaps because that Gateway ID has already be used by someone else? :thinking: !

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 :wink: 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

1 Like


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.

I’m not sure I can - the ID you want to use is already taken and you need to choose a different one - the error message really does say it all.

I understood this part and tried likewise. I was able to do it. Thank you for the help.