Poryaei / TapSwap-Clicker

A Python bot and automated clicker for accumulating TapSwap on Telegram.
https://t.me/tapswap_bot
MIT License
72 stars 27 forks source link

Invalid request for submit_taps function #18

Closed arashm404 closed 1 month ago

arashm404 commented 1 month ago

Hi thank you for your codes there is problem with submit_taps even also added content-id sometimes result is {"statusCode":400,"message":"invalid_request[2]"} any solutions?

Poryaei commented 1 month ago

Problem solved in the update! 👍🏻

arashm404 commented 1 month ago

while True: try: response = session.post('https://api.tapswap.ai/api/player/submit_taps', headers=headers, json=payload).json() break except Exception as e: print("[!] Error in Tapping: ", e) time.sleep(2) return response

but you did not print(response)
print the response and you will see this message