Open Pawansingh333 opened 4 months ago
++
++
same
В Пулах есть решение этой проблемы https://github.com/shamhi/TapSwapBot/pull/107
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
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
update code from repo, it works fine =)
107 fixes the problem.
Fix does not work :( Same error,
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]"}..