gruijter / com.gruijter.insights2csv

Homey app to export insights
GNU General Public License v3.0
5 stars 3 forks source link

Error due to unescaped character (probably the " character) #14

Closed MP-ICT-Diensten closed 2 years ago

MP-ICT-Diensten commented 4 years ago

I get an error about an unescaped character:

2020-09-10 03:21:27 [err] TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new ClientRequest (_http_client.js:148:13) at request (http.js:46:10) at /node_modules/athom-api/dist/index.js:1:333197 at new Promise () at new g (/node_modules/athom-api/dist/index.js:1:331953) at g (/node_modules/athom-api/dist/index.js:1:331800) at /node_modules/athom-api/dist/index.js:1:1272004 at x (/node_modules/athom-api/dist/index.js:1:346389) at Generator.u._invoke (/node_modules/athom-api/dist/index.js:1:346184) at Generator.e. [as next] (/node_modules/athom-api/dist/index.js:1:346568) { code: 'ERR_UNESCAPED_CHARACTERS' }
2020-09-10 03:21:23 [log] getting logs related to net.i-dev.betterlogic

Better logic characters: 2020-09-10_16-02-27

gruijter commented 4 years ago

Where do you see the error, and what exactly is the error?

MP-ICT-Diensten commented 4 years ago

Sorry, it was in the first comment, but not visible for some reason.

Marco

gruijter commented 4 years ago

Ok, thx. Looks like an issue in the athom api itself. But I can maybe find a workaround (or have to wait until infinity before Athom fixes it 😣)

MP-ICT-Diensten commented 4 years ago

My quick fix for now is the renaming of the better logic variable in a name without the " " in it, was only used in 2 flows.