Closed mrdarkerr closed 4 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
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
Same. @AlexKrutoy
Исправлено. Бот теперь работает корректно: https://github.com/shamhi/TapSwapBot
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'