node-toogoodtogo-watcher: Connection refused: HTTPError: Response code 403 (Forbidden)
Hello everybody, I was very happy for 2 weeks to use this script but since two days or so ago I get this message when I try to start the app:
C:\Users\B>toogoodtogo-watcher watch
Error during request:
POST https://apptoogoodtogo.com/api/auth/v1/loginByEmail
{
"device_type": "UNKNOWN",
"email": "********@gmail.com",
"password": "*******"
}
HTTPError: Response code 403 (Forbidden)
at onResponse (C:\Users\B\AppData\Roaming\npm\node_modules\toogoodtogo-watcher\node_modules\got\dist\source\as-promise\index.js:142:28)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
At first I thought it was the telegram bot as I got a message refresh token, which I created a completely new bot and started a new config file but I can not get the connection from my computer. Have they blocked it somehow? Any help would be appreciated, I am new to coding. Thank you in advance.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 39 (12 by maintainers)
It seems it’s the wrong place? Please check the file under %AppData%\npm\node_modules\toogoodtogo-watcher\lib This is probably the one in use.
Well, the new user agent actually worked but I had to do
config-resetfirst, I don’t know why. Thanks @koff75, would you like to make a PR to change the default value ?