List device codes gives internal server error

When I try the “List device codes” API via the API explorer, it shows INTERNAL_SERVER_ERROR as the response.

This is in production with application ID sq0idp-ks4judTCWHPcDz85hCk7qg

Thanks for bringing this to our attention. The team is working on a better error message. This is happening because your passing in the location_id query parameter as an empty string. If you set the location_id or remove the location_id query parameter from the request it will work as expected. :slightly_smiling_face: