Closed jpmeijers closed 1 year ago
To test I removed pending_mac_state
from the failing device's json. Now I'm getting a different error:
Invalid value of field pending_mac_state
Update: By removing all fields from the json, except the ones documented at https://www.thethingsindustries.com/docs/getting-started/migrating/device-json/ the device was imported successfully without a session. This however does not solve my problem, as one will need to manually edit the json for every device, something that is impractical when migrating hundreds of devices. I'll therefore have to wait for either this issue to be solved, or the migrate tool to omit the session (https://github.com/TheThingsNetwork/lorawan-stack-migrate/issues/51).
Summary
I did an export on TTS-CE of all devices in an application. I then created a new application on a TTS Cloud instance, and imported the json file. 5 of the 22 devices did not import with a "store error".
@adriansmares is aware of this, and I provided him with the json to reproduce.
Steps to Reproduce
ttn-lw-migrate
to export all devices in an application.Current Result
store error
Expected Result
Devices should import without any error.
Relevant Logs
No response
URL
No response
Deployment
The Things Stack Cloud
The Things Stack Version
3.22.2
Client Name and Version
No response
Other Information
No response
Proposed Fix
No response
Contributing
Code of Conduct