We have devices with IDs of 39 characters. The ttn-lw-migrate tool (v0.5.0 up to v0.7.0) prevents the migration of devices because of the IDs of more than 36 characters. We want to migrate our devices with sessions keys.
How can we migrate our devices ?Is it possible to increase this limit of 36 characters ?
You could truncate or remap the ID’s - they are administrative but this may impact on your backend.
Very probably if you alter the source code - or lodge an issue on GitHub - but you may want to look at using shorted IDs as migration D-Day is ~54 days away
I’m afraid increasing the limit of 36 is not possible. Doing this would be a breaking API change, and it could result in problems with (external) applications, integrations and storage databases that were built to enforce the current limit of 36.
It shouldn’t have been possible to register IDs of longer than 36 in V2 either, but an unfortunate validation bug allowed this to happen for a number of devices.
We could indeed solve this by making a change to the ttn-lw-migrate tool that lets you remap the IDs. Would it work for if the tool would allow you to register these devices in V3 using their DevEUI instead of their V2 ID?