tonesto7 / homebridge-smartthings

SmartThings Homebridge Plugin
383 stars 765 forks source link

Unescaped Character error when trying to retrieve smartthings #244

Closed jimmyeao closed 6 years ago

jimmyeao commented 6 years ago

Trying to set this up today, hitting a wall with this error...

[2/21/2018, 3:43:16 PM] [Tree] Initializing Hs100 platform... [2/21/2018, 3:43:17 PM] [Tree] homebridge-hs100 v3.7.0, node v7.10.1, homebridge v0.4.38 [2/21/2018, 3:43:17 PM] [SmartThings] Initializing homebridge-smartthings.SmartThings platform... [2/21/2018, 3:43:17 PM] [SmartThings] Fetching Smart Things devices. _http_client.js:86 throw new TypeError('Request path contains unescaped characters'); ^

TypeError: Request path contains unescaped characters at new ClientRequest (_http_client.js:86:13) at Object.request (http.js:26:10) at Object.request (https.js:206:15) at Object. (/usr/lib/node_modules/homebridge-smartthings/node_modules/agent-base/patch-core.js:23:20) at Object. (/usr/lib/node_modules/homebridge-smartthings/node_modules/pac-proxy-agent/node_modules/agent-base/patch-core.js:52:20) at Object. (/usr/lib/node_modules/homebridge-smartthings/node_modules/http-proxy-agent/node_modules/agent-base/patch-core.js:52:20) at Object.request (/usr/lib/node_modules/homebridge-smartthings/node_modules/https-proxy-agent/node_modules/agent-base/patch-core.js:52:20) at _http (/usr/lib/node_modules/homebridge-smartthings/lib/smartthingsapi.js:27:20) at GET (/usr/lib/node_modules/homebridge-smartthings/lib/smartthingsapi.js:75:5) at Object.getDevices (/usr/lib/node_modules/homebridge-smartthings/lib/smartthingsapi.js:93:9)