TapSwapBot icon indicating copy to clipboard operation
TapSwapBot copied to clipboard

Same Error After Update

Open Pawansingh333 opened this issue 1 year ago • 9 comments

http.client_exceptions.ClientResponseError: 400, message='Bad Request', url=URL('https://api.tapswap.ai/api/account/login') 2024-06-20 20:11:03 | ERROR | 126 - 91xxxxxxxxxxx | Unknown error while getting Access Token: 400, message='Bad Request', url=URL('https://api.tapswap.ai/api/account/login') | Response text: {"statusCode":400,"message":"invalid_chr[2]"}... 2024-06-20 20:11:03 | ERROR | 391 - 91xxxxxxxxxx | Unknown error: cannot unpack non-iterable NoneType object Traceback (most recent call last): File "C:\Users\abc\Desktop\pixelversexyzbot-main\TapSwapBot-main (1)\TapSwapBot-main\bot\core\tapper.py", line 117, in login response.raise_for_status() File "C:\Users\abc\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiohttp\client_reqrep.py", line 1060, in raise_for_status raise ClientResponseError( aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url=URL('https://api.tapswap.ai/api/account/login') 2024-06-20 20:11:04 | ERROR | 126 - 916026844662 | Unknown error while getting Access Token: 400, message='Bad Request', url=URL('https://api.tapswap.ai/api/account/login') | Response text: {"statusCode":400,"message":"invalid_chr[2]"}..

Pawansingh333 avatar Jun 20 '24 14:06 Pawansingh333

++

m-a-prod avatar Jun 20 '24 16:06 m-a-prod

++

Dumpff avatar Jun 20 '24 16:06 Dumpff

same

CruistCoder avatar Jun 20 '24 18:06 CruistCoder

В Пулах есть решение этой проблемы https://github.com/shamhi/TapSwapBot/pull/107

Visualua avatar Jun 20 '24 21:06 Visualua

#107 fixes the problem.

muratulashozturk avatar Jun 20 '24 21:06 muratulashozturk

after applied #107, it have another issue such as below "Activating virtual environment... Starting the bot... Traceback (most recent call last): File "D:\usb\tabtap\TapSwapBot\main.py", line 4, in from bot.utils.launcher import process File "D:\usb\tabtap\TapSwapBot\bot\utils_init_.py", line 2, in from . import launcher File "D:\usb\tabtap\TapSwapBot\bot\utils\launcher.py", line 12, in from bot.core.tapper import run_tapper File "D:\usb\tabtap\TapSwapBot\bot\core\tapper.py", line 17, in from bot.utils.scripts import extract_chq, escape_html File "D:\usb\tabtap\TapSwapBot\bot\utils\scripts.py", line 145 driver.execute_script(""" IndentationError: unexpected indent Press any key to continue . . ." . Pls help

phillipssa avatar Jun 21 '24 04:06 phillipssa

http.client_exceptions.ClientResponseError: 400, message='Bad Request', url=URL('https://api.tapswap.ai/api/account/login') 2024-06-20 20:11:03 | ERROR | 126 - 91xxxxxxxxxxx | Unknown error while getting Access Token: 400, message='Bad Request', url=URL('https://api.tapswap.ai/api/account/login') | Response text: {"statusCode":400,"message":"invalid_chr[2]"}... 2024-06-20 20:11:03 | ERROR | 391 - 91xxxxxxxxxx | Unknown error: cannot unpack non-iterable NoneType object Traceback (most recent call last): File "C:\Users\abc\Desktop\pixelversexyzbot-main\TapSwapBot-main (1)\TapSwapBot-main\bot\core\tapper.py", line 117, in login response.raise_for_status() File "C:\Users\abc\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiohttp\client_reqrep.py", line 1060, in raise_for_status raise ClientResponseError( aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url=URL('https://api.tapswap.ai/api/account/login') 2024-06-20 20:11:04 | ERROR | 126 - 916026844662 | Unknown error while getting Access Token: 400, message='Bad Request', url=URL('https://api.tapswap.ai/api/account/login') | Response text: {"statusCode":400,"message":"invalid_chr[2]"}..

replace the lines carefully. you made a mistake when replacing, you are informed about it in scripts.py on line 145

Visualua avatar Jun 21 '24 08:06 Visualua

update code from repo, it works fine =)

m-a-prod avatar Jun 21 '24 08:06 m-a-prod

#107 fixes the problem.

Fix does not work :( Same error,

  1. https://github.com/shamhi/TapSwapBot/issues/112

ButCheR-PRO avatar Jun 21 '24 16:06 ButCheR-PRO