Unable to uninstall driver

./smartthings edge:drivers:uninstall

? Select a hub to uninstall from. 1
┌────┬──────────────────────────┬──────────────────────────────────────┐
│ # │ Name │ Driver Id │
├────┼──────────────────────────┼──────────────────────────────────────┤
│ 1 │ Aqara Cube │ ee23b1ad-8589-4355-924a-283e41a38d98 │
│ 2 │ Xiaomi Blinds │ 4b7334be-676f-4ab2-b6b6-9b74d1340b1c │
│ 3 │ Xiaomi Motion Sensor │ d06f05ce-1865-4a16-b99d-bf1778bab8c2 │
│ 4 │ Xiaomi Plug │ c35de3c9-62ba-4d9e-a848-fcf5d3e8cbaa │
│ 5 │ Xiaomi Sensors │ c42a476b-bcc0-4d40-8c6e-21a85bb52a80 │
│ 6 │ Xiaomi Switch │ b18cdef6-1d11-4a7c-a0f4-7efa554ef45b │
│ 7 │ Xiaomi Temperature │ c09c02d7-d05d-4bf4-831b-207a1adeae2f │
│ 8 │ Zigbee Contact │ e165119d-d6ee-4bac-80e8-7412bb72df80 │
│ 9 │ Zigbee Range Extender │ 961dbfd5-96f7-43e5-b142-e1bf8601cba9 │
│ 10 │ Zigbee Water Leak Sensor │ dfdb7a46-3b9a-49af-b08a-2e4624648a42 │
└────┴──────────────────────────┴──────────────────────────────────────┘
? Select a driver to uninstall. 5
Error: Request failed with status code 500:
{“requestId”:“D4A6C8D6-9B0F-4D88-A008-FD89C0B1B705”,“error”:{“code”:“UnexpectedError”,“message”:“unsuccessful-http-call status=500”,“details”:}}

./smartthings edge:drivers:uninstall
┌───┬────────┬────────────────────┬──────────────────────────────────────┐
│ # │ Label │ Name │ Device Id │
├───┼────────┼────────────────────┼──────────────────────────────────────┤
│ 1 │ EU Hub │ SmartThings v3 Hub │ 7c00a19a-8560-41e9-8146-ebfb65f5e105 │
└───┴────────┴────────────────────┴──────────────────────────────────────┘
? Select a hub to uninstall from. 1
┌────┬──────────────────────────┬──────────────────────────────────────┐
│ # │ Name │ Driver Id │
├────┼──────────────────────────┼──────────────────────────────────────┤
│ 1 │ Aqara Cube │ ee23b1ad-8589-4355-924a-283e41a38d98 │
│ 2 │ Xiaomi Blinds │ 4b7334be-676f-4ab2-b6b6-9b74d1340b1c │
│ 3 │ Xiaomi Motion Sensor │ d06f05ce-1865-4a16-b99d-bf1778bab8c2 │
│ 4 │ Xiaomi Plug │ c35de3c9-62ba-4d9e-a848-fcf5d3e8cbaa │
│ 5 │ Xiaomi Sensors │ c42a476b-bcc0-4d40-8c6e-21a85bb52a80 │
│ 6 │ Xiaomi Switch │ b18cdef6-1d11-4a7c-a0f4-7efa554ef45b │
│ 7 │ Xiaomi Temperature │ c09c02d7-d05d-4bf4-831b-207a1adeae2f │
│ 8 │ Zigbee Contact │ e165119d-d6ee-4bac-80e8-7412bb72df80 │
│ 9 │ Zigbee Range Extender │ 961dbfd5-96f7-43e5-b142-e1bf8601cba9 │
│ 10 │ Zigbee Water Leak Sensor │ dfdb7a46-3b9a-49af-b08a-2e4624648a42 │
└────┴──────────────────────────┴──────────────────────────────────────┘
? Select a driver to uninstall. 8
Error: Request failed with status code 500:
{“requestId”:“5D571BDE-A926-40A5-B718-3461E68072B3”,“error”:{“code”:“UnexpectedError”,“message”:“unsuccessful-http-call status=500”,“details”:}}

from the browser

{“message”:“Request failed with status code 500”,“name”:“Error”,“stack”:“Error: Request failed with status code 500\n at createError (/code/node_modules/axios/lib/core/createError.js:16:15)\n at settle (/code/node_modules/axios/lib/core/settle.js:17:12)\n at IncomingMessage.handleStreamEnd (/code/node_modules/axios/lib/adapters/http.js:260:11)\n at IncomingMessage.emit (events.js:326:22)\n at endReadableNT (_stream_readable.js:1241:12)\n at processTicksAndRejections (internal/process/task_queues.js:84:21)”,“config”:{“url”:“https://api.smartthings.com/hubdevices/7c00a19a-8560-41e9-8146-ebfb65f5e105/drivers/c42a476b-bcc0-4d40-8c6e-21a85bb52a80",“method”:“delete”,“headers”:{“Accept”:“application/json”,“Authorization”:"Bearer {redacted}”,“Content-Type”:“application/json;charset=utf-8”,“User-Agent”:“axios/0.21.1”},“transformRequest”:[null],“transformResponse”:[null],“timeout”:0,“xsrfCookieName”:“XSRF-TOKEN”,“xsrfHeaderName”:“X-XSRF-TOKEN”,“maxContentLength”:-1,“maxBodyLength”:-1}}

@veonua it would be of great help if you include the command you executed at this point.

In addition, I think it would be great if you could reformat the information you’ve shared so far, it might be beneficial to others experiencing similar issues and are looking for a solution as well. Also, I’d suggest using backticks ( ` ) to enclose code/logs/etc, e.g.:

CLI command:

smartthings [ COMMAND ] [ OPTIONS ]

Output reference:

[ ERROR LOGS ]