AlexKrutoy / TapSwapBot

Hidden Code
https://t.me/hidden_coding/11
54 stars 7 forks source link

Unknown error while getting Access Token: 'access_token' | Response text: {"statusCode":400,"message":"invalid_chr[2]"}... #12

Closed mrdarkerr closed 2 months ago

mrdarkerr commented 3 months ago

2024-06-20 13:55:07 | ERROR | 126 - n1 | Unknown error while getting Access Token: 'access_token' | Response text: {"statusCode":400,"message":"invalid_chr[2]"}... Traceback (most recent call last): File "/root/TapSwapBot/bot/core/tapper.py", line 120, in login access_token = response_json['access_token'] KeyError: 'access_token'

amirhossein-fzl commented 3 months ago

I updated headers.py and get this error.

2024-06-20 19:13:10 | ERROR | 126 - Amir | 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]"}...

Tell us how we can open the inspector and find these headers. Thankful

@AlexKrutoy

ButCheR-PRO commented 3 months ago

Same.

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]"}...
ERROR    | 393 | Unknown error: cannot unpack non-iterable NoneType object
NotMRGH commented 3 months ago

Same. @AlexKrutoy

ButCheR-PRO commented 3 months ago

Исправлено. Бот теперь работает корректно: https://github.com/shamhi/TapSwapBot