shamhi / TapSwapBot

Bot that mines coins in Tapswap
https://t.me/tapswap_bot
180 stars 62 forks source link

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_request[1]"} #79

Open faerhjio0gase opened 2 weeks ago

faerhjio0gase commented 2 weeks ago

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_request[1]"}

how to fix?

masudscloud commented 2 weeks ago

Yes, lol. Neither we will win, nor they. A forever epic battle.

headNbyte commented 2 weeks ago

@shamhi you can close this issue

amirhossein-fzl commented 1 week ago

Although I am using your fork, I still have the same error. It used to work. But now it gives an error again. can you update?

@headNbyte

headNbyte commented 1 week ago

@amirhossein-fzl here are the latest fixes: https://github.com/AlexKrutoy/TapSwapBot

amirhossein-fzl commented 1 week ago

@amirhossein-fzl here are the latest fixes: https://github.com/AlexKrutoy/TapSwapBot

Not work. validation error for MIN_AVAILABLE_ENERGY while it is correct.

amirhossein-fzl commented 1 week ago

This error :

@headNbyte

Traceback (most recent call last): File "/root/miners/TapSwapBot/main.py", line 4, in from bot.utils.launcher import process File "/root/miners/TapSwapBot/bot/utils/init.py", line 2, in from . import launcher File "/root/miners/TapSwapBot/bot/utils/launcher.py", line 10, in from bot.config import settings File "/root/miners/TapSwapBot/bot/config/init.py", line 1, in from .config import settings File "/root/miners/TapSwapBot/bot/config/config.py", line 31, in settings = Settings() ^^^^^^^^^^ File "/root/miners/TapSwapBot/lib/python3.11/site-packages/pydantic_settings/main.py", line 84, in init super().init( File "/root/miners/TapSwapBot/lib/python3.11/site-packages/pydantic/main.py", line 171, in init self.__pydantic_validator__.validate_python(data, self_instance=self) pydantic_core._pydantic_core.ValidationError: 1 validation error for Settings MIN_AVAILABLE_ENERGY Input should be a valid list [type=list_type, input_value=100, input_type=int] For further information visit https://errors.pydantic.dev/2.6/v/list_type