-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TGTG API Error: (404, b'') #579
Comments
2025-02-25 12:47:58 ERROR (404, b'') I have the same error since yesterday at 12.47 PM I am stuck eversince. i tried to reinstall the app but it was a no go. i whitelisted it, hopefuly nothing bad will happen to my PC :) |
Me too (on Linux server), any ideas? |
Same problem here. My platform is Linux server. |
I succeeded to start the scanner again, forcing it to re-sign in. You can do this by deleting from config file the lines AccessToken, RefreshToken and Datadome. It will send an email with a confirmation link to login. The problem is that every time you restart the scanner you have to repeat the procedure. Otherwise you will get 404 error. I will try to understand what is the API call that fails ASAP. |
Hi @p3g4asus. I can confirm this is working. They seem to have changed something in the token management and the old tokens are not valid anymore. I will add an error message that will suggest to this solution. This will only be a temporary solution until we know how the new refresh token works. |
Same error since tonight:
Workaround from @p3g4asus works fine:
But as soon as I restart the container, the same error appears:
|
It doesn't work for me even after deleting the tokens and with a fresh login.
|
Unfortunately scanner stops working after some time and in the log I find: |
It seems that, after starting the scanner by re-signing in, the scanner works just fine for 4 hours. After that, it starts giving 404 error in |
As a temporary improvement you can set the |
Thank you for the suggestion: I set
under TGTG session. I will report if it works all the time or stops before the end. |
Hi, for the Windows app I resolved like this:
Basically, I created a version of the config file without AccessToken, RefreshToken and Datadome; then I copy&rename the template file and relaunch the application. It requires to validate a mail (not a problem) but , then, by enabling the Debug, I see something like this: [2025-02-27 20:55:54][urllib3.connectionpool][connectionpool.py:_make_request:544][DEBUG] https://apptoogoodtogo.com:443 "POST /api/item/v8/ HTTP/1.1" 403 411 But the login itself worked well, actually this error appeared after connecting to my Telegram bot. |
I've got exactly the same behavior. Login succeeds (with a fresh config.ini without the tokens and after mail confirmation), but the I also get the 403 captcha errors after telegram tries to send the test notification. The 403 is probably issues by the request to '/api/item/v8/'. |
I use telegram as notifier too but I don't get any 403 captcha error. I think that some API endpoint URL path was changed in a recent commit. Maybe the URL change was not spread all over the world? |
Or it could be some anti spam prevention. Did you try to open too good to go app to see if you get any captcha there? |
Yes, I tried to open the app and it works without any issues. Captchas are also not shown there. (App and tgtg-scanner share the same network, so the outgoing IP is also the same). I also tried running the scanner on a different server outside my home network, which leads to the same behavior. |
|
I'm still getting 403 error at I tried changing My app version is upd. It looks like the latest APK version is indeed available only in some countries now. |
This does work but you have to modify |
Release 1.22.2 is build right now. It implements the new refresh token endpoint. |
@Der-Henning thanks! 1.22.2 works like a charm! |
I have updated the scanner to 1.22.2 but I'm still getting the captcha error. Anyone else? |
@Moley123 Me to, I've even deleted the credentials and signed again, but the issue persists. :( |
I just intercepted requests from 25.2.11 app. It looks like they will also be migrating other endpoints to |
Hello, am I the only one that is still getting the same error? Login ok, launching the Telegram bot also ok, then KO when start scanning my favourites |
One question: how many favourites do you have? How many surprise bag types do you have on average from your favourites? |
I have just 2 favourites, and I'm getting troubles with recaptcha:
and the same I get when I try to log in again:
scrapping every 40s |
Same issue for me (I'm on Mac and I also tried to use a VPN) : 2025-03-02 19:37:42 INFO Loaded config from /Volumes/T7Shield/projets/tgtg/config.ini |
It looks like tgtg implemented a kind of rate limit or blocking per IP or something. My ISP at home provides carrier-grade NAT for IPv4 and native IPv6. This means that multiple users or households share the same outgoing IPv4 address. IPv6 addresses however are unique per device and not shared between users. |
It works for me with the new version and after a rebuild of the docker image on my raspberry. |
@niklasdoerfler I'm seeing a similar behavior now. upd. I also tried using some quite exotic VPN locations like Nigeria, Colombia, etc. where TGTG is not even available, so I doubt someone could have triggered the rate limit for these IPs before. But they all were IPv4 and they all failed. |
I really think they implemented a way to block bots… is there a way to get the URL to solve the captcha? |
Hey guys,
since yesterday iam getting the Error: " TGTG API Error: (404, b'')" in my docker. Does anyone else have the same problem?
I tried the Windows version but the same problem appears there too.
The text was updated successfully, but these errors were encountered: