-
-
Notifications
You must be signed in to change notification settings - Fork 563
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
Error: Couldn't get access token: failed to decode response: invalid character '<' looking for beginning of value #81
Comments
same |
Guys read other issues first it's all in #69 |
Facing the same issue now |
Same here... |
same here |
Same here, any solution ? |
same |
same lmao |
Any solutions? |
May i know this still have any solution |
I think we should use login/password as env vars for getting correct cookies |
This is because of the CloudFlare bot detection. The cloudflare cookie should also be used but note that this gets refreshed every two hours. So you have to copy the key every 2 hours. Please stop mentioning that it doesn't work. Just upvote the first post. |
@Daankrol hi |
I did the changes mentioned in the error #69 and recompiled the code successfully. Now the cloudflare captcha and login works (did not before) in the chromium browser, however the error remains after that when I call the bot in telegram: |
any solution? |
"first post"? what first post? link it now please |
Any update on this ? |
Also having trouble with this, I am getting the OPs error. I initially tried to run the bot regularly without setting up the config on my ubuntu VM, however, I couldn't get past the human verification screen as it would close the browser window before getting to the login screen. I copied the __Secure-next-auth.session-token into ~/.config/chatgpt.json however that's when I got the OPs "Error: Couldn't get access token: failed to decode response: invalid character '<' looking for beginning of value" Error. The tele bot seems to run within the terminal but within tele just gives that error. I don't quite understand what this line in the README means "You will then have to create a config file in the following location depending on your OS (replace YOUR_USERNAME_HERE with your username". There is no notation as to what the username is for (tele, chatgpt) and how to add it into the config. Any help would be appreciated as I would love to get this working. |
@georgijspi username is simply name of the user folder in your computer, mine is "Elvis" and im running windows 10 so the path will be C:\Users\Elvis\AppData\Roaming\chatgpt.json |
have same problem |
same here |
same |
2 similar comments
same |
same |
same, any ideas? |
@m1guelpf do you think you can spend a couple of mins answering how to solve this problem? My enviroment: Thank you so much in advanced! |
Same here |
same |
1 similar comment
same |
same,any solution? |
Same issue |
一模一样的问题. |
You guys can also try this project: https://github.com/Leask/halbot
|
Keep getting this error
Checked all the files that can be which may be related to this, but didn't find anything.
Does anyone know how to fix this issue?
The text was updated successfully, but these errors were encountered: