Connection refused: HTTPError: Response code 403 (Forbidden)
See original GitHub issueHello 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.
Issue Analytics
- State:
- Created 3 years ago
- Comments:39 (12 by maintainers)
Top Results From Across the Web
403 Forbidden - HTTP - MDN Web Docs - Mozilla
The HTTP 403 Forbidden response status code indicates that the server understands the request but refuses to authorize it.
Read more >HTTP Error 403 Forbidden: What It Means and How to Fix It
The 403 (Forbidden) status code indicates that the server understood the request but refuses to authorize it...If authentication credentials ...
Read more >HTTP 403 Forbidden | What is 403 Forbidden Error and How ...
An HTTP 403 code means that the server understood the request but will not process it. If the server wants to make known...
Read more >What Is the 403 Forbidden Error and How to Fix It (8 Methods ...
The 403 Forbidden error message isn't a sign of something inherently bad happening to your website. It simply means that there is an...
Read more >403 Forbidden Error: What It Is and How to Fix It - Airbrake Blog
The 403 Forbidden Error is an HTTP response status code that indicates an identified client does not have proper authorization to access the ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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-reset
first, I don’t know why. Thanks @koff75, would you like to make a PR to change the default value ?