TheThingsArchive / api

Generated code for accessing The Things Network v2 API
MIT License
12 stars 8 forks source link

Internal Server Error when requesting device by uppercase deveui #25

Closed janjongboom closed 5 years ago

janjongboom commented 6 years ago

I'm doing this:

GET http://eu.thethings.network:8084/applications/mbed-update/devices/00800000040004CA

This throws a 500 - Internal Server Error.

Requesting 00800000040004ca works.

@johanstokking

johanstokking commented 6 years ago

Thanks for the report. This should be 400 - Bad Request, indeed not a 500. It's invalid because IDs must be lowercase and follow quite some other length and character rules. IDs are not related to EUIs either.

We'll be addressing this in V3.