node-toogoodtogo-watcher: 403 on token refresh
Hello I still have a 403 error with the last version after the PR for #112 and #113
toogoodtogo-watcher_1 | Error during request:
toogoodtogo-watcher_1 | POST https://apptoogoodtogo.com/api/auth/v2/loginByEmail
toogoodtogo-watcher_1 | {
toogoodtogo-watcher_1 | "device_type": "UNKNOWN",
toogoodtogo-watcher_1 | "email": "*****",
toogoodtogo-watcher_1 | "password": "*****"
toogoodtogo-watcher_1 | }
toogoodtogo-watcher_1 |
toogoodtogo-watcher_1 | HTTPError: Response code 403 (Forbidden)
toogoodtogo-watcher_1 | at Request.<anonymous> (/home/node/app/node_modules/got/dist/source/as-promise/index.js:117:42)
toogoodtogo-watcher_1 | at processTicksAndRejections (internal/process/task_queues.js:95:5)
When I try to POST on Insomnia I obtain this response asking me to resolve a captcha
<html><head><title>apptoogoodtogo.com</title><style>#cmsg{animation: A 1.5s;}@keyframes A{0%{opacity:0;}99%{opacity:0;}100%{opacity:1;}}</style></head><body style="margin:0"><p id="cmsg">Please enable JS and disable any ad blocker</p><script>var dd={'cid':'AHrlqAAAAAMANoQuwp2NxI8ATZMnzg==','hsh':'1D42C2CA6131C526E09F294FE96F94','t':'fe','r':'b','s':35702,'host':'geo.captcha-delivery.com'}</script><script src="https://ct.captcha-delivery.com/c.js"></script></body></html>
Maybe we can re-open #114?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 4
- Comments: 26 (8 by maintainers)
Alright, I spoke too fast, it only worked for one day :
Error during request: POST https://apptoogoodtogo.com/api/auth/v2/token/refresh { “refresh_token”: “e30.eyJzdWI…/…wOjAifAkxBgHbNn77hU” }
HTTPError: Response code 403 (Forbidden) at Request.<anonymous> (/usr/local/lib/node_modules/toogoodtogo-watcher/node_modules/got/dist/source/as-promise/index.js:117:42) at processTicksAndRejections (internal/process/task_queues.js:97:5)
hopeless
@navimondo @andrzejpodgorny That one worked, I will create PR
Switching to version 3.7.0 this morning: it works!
Phew, I’m not going to need to get my IP released (I was trying to contact them via a friend of the neighbor’s daughter, that’s my desperation)
Thank you !