question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Connection refused: HTTPError: Response code 403 (Forbidden)

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:39 (12 by maintainers)

github_iconTop GitHub Comments

3reactions
andreaseide80commented, Sep 3, 2020

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.

1reaction
KaKi87commented, Sep 2, 2020

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 ?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found