Problem with registering new nodes / ClaimEndDeviceRequest Authenticated Identifiers Validation Error

Hello,

I produce a small series of my own specialised LoRaWAN end devices. Now yesterday I wanted to add 50 more nodes via CSV import (like the last time). Unfortunately, I keep getting the following error message:

{
  "code": 3,
  "message": "error:pkg/errors:validation (invalid `authenticated_identifiers`: embedded message failed validation)",
  "details": [
    {
      "@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails",
      "namespace": "pkg/errors",
      "name": "validation",
      "message_format": "invalid `{field}`: {reason}",
      "attributes": {
        "field": "authenticated_identifiers",
        "name": "ClaimEndDeviceRequestValidationError",
        "reason": "embedded message failed validation"
      },
      "correlation_id": "eebae8a0b4fa40339a98b4e2d2084ceb",
      "cause": {
        "namespace": "pkg/errors",
        "name": "validation",
        "message_format": "invalid `{field}`: {reason}",
        "attributes": {
          "field": "authentication_code",
          "name": "ClaimEndDeviceRequest_AuthenticatedIdentifiersValidationError",
          "reason": "value does not match regex pattern \"^[A-Z0-9]{1,32}$\""
        },
        "correlation_id": "cc2af9e0afd948ed99d3b16e6ad9d832",
        "code": 3
      },
      "code": 3
    }
  ]
}

For all 50 entries. I already had this error about a week ago. At that time I waited about 24 hours and suddenly the import worked again.

Can someone help me what the problem is here / what I’m doing wrong?

The CSV file is structured as follows:

dev_eui;join_eui;frequency_plan_id;lorawan_version;lorawan_phy_version;app_key
XXXXXXXX36161502;XXXXXXXXD0000000;EU_863_870_TTN;MAC_V1_0_1;RP002_V1_0_3;XXXXXXXX36161502XXXXXXXXB91D39DE

(Replaced parts of the CSV with XXXXXXXX)

This is translated from german with the google translator. Sorry for that!

Greetings,
Magnus

Suspect big clue! What characters are in your CSV import?

Hello,

here are the original first two rows of the CSV:

dev_eui;join_eui;frequency_plan_id;lorawan_version;lorawan_phy_version;app_key
3232333436161502;70B3D57ED0000000;EU_863_870_TTN;MAC_V1_0_1;RP002_V1_0_3;3232333436161502A9EA4D0BB91D39DE

The characters are all Uppercase and not longer than 32 chars…

I’m not sure why it would need it as I’ve not seen it required on CSV imports previously but this is an additional clue as well.

That would be far in excess of experimentation / community use - perhaps @rish1 can advise on appropriate options for you.

Hello descartes,

thanks for your help and additional clue. But what is meant with the field “authentication_code”? Wich code is meant and where can i get such an authentication code?

I use the end devices for an private swarm project of mine. How much nodes can i add/use in “community use”?

I’d suspect that you’ve found a combination that triggers an unanticipated error and it’s giving misleading information, but I’d have to try a test import myself to see.

Where do you get your DevEUI’s from?

As for device numbers, the consensus seems to be that for personal use (which isn’t community use if they are private), 50 is really pushing the limits - who needs more than a dozen or so private devices?? Community use, as in a geographical area with a mixed range of devices from a variety of user groups, is taken on a case by case basis if issues arise. @rish1 can advise further.

Please do not delete a post and mark someone else’s post as the solution when there appears to a casual link between them, rather leaving people without any thing to go on if they face a similar issue.

I’d assume that there was an issue with the EUIs you were generating, but it would be useful to the community at large if you could tell us what the problem was.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.