shamhi / HamsterKombatBot

Bot that mines coins in HamsterKombat
Apache License 2.0
425 stars 127 forks source link

Unknown error while getting Access Token: 422, message='Unprocessable Entity' #316

Closed Pawansingh333 closed 1 week ago

Pawansingh333 commented 1 week ago

":{"initDataRaw":null,"fingerprint":{"visitorId":"2c3aeab13cffcf85c00a95d6b9604a36"}}}... 2024-06-15 23:01:04 | ERROR | 30 - Unknown error while getting Access Token: 422, message='Unprocessable Entity', url=URL('https://api.hamsterkombat.io/auth/auth-by-telegram-webapp') | Response text: {"type":"validation","on":"body","found":{"initDataRaw":null,"fingerprint":{"visitorId":"861344f63d8deafc08aa7ca77aa0e25d"}}}... 2024-06-15 23:01:08 | ERROR | 30 - Unknown error while getting Access Token: 422, message='Unprocessable Entity', url=URL('https://api.hamsterkombat.io/auth/auth-by-telegram-webapp') | Response text: {"type":"validation","on":"body","found":{"initDataRaw":null,"fingerprint":{"visitorId":"6f77398525fc1631acac7487d5d88484"}}}... 2024-06-15 23:01:11 | ERROR | 30 - Unknown error while getting Access Token: 422, message='Unprocessable Entity', url=URL('https://api.hamsterkombat.io/auth/auth-by-telegram-webapp') | Response text: {"type":"validation","on":"body","found":{"initDataRaw":null,"fingerprint":{"visitorId":"1999103b3cc49c5a0a2a747cb57efc14"}}}... 2024-06-15 23:01:15 | ERROR | 30 - Unknown error while getting Access Token: 422, message='Unprocessable Entity', url=URL('https://api.hamsterkombat.io/auth/auth-by-telegram-webapp') | Response text: {"type":"validation","on":"body","found":{"initDataRaw":null,"fingerprint":{"visitorId":"e883f3893614b11d8a6c5670374f5150"}}}... 2024-06-15 23:01:18 | ERROR | 30 - Unknown error while getting Access Token: 422, message='Unprocessable Entity', url=URL('https://api.hamsterkombat.io/auth/auth-by-telegram-webapp') | Response text: {"type":"validation","on":"body","found":{"initDataRaw":null,"fingerprint":{"visitorId":"68e8ca45271b9eabe19458ce14dc4372"}}}... 2024-06-15 23:01:21 | ERROR | 30 - Unknown error while getting Access Token: 422, message='Unprocessable Entity', url=URL('https://api.hamsterkombat.io/auth/auth-by-telegram-webapp') | Response text: {"type":"validation","on":"body","found":{"initDataRaw":null,"fingerprint":{"visitorId":"396203b9d584d9170f557ebe1cd25e6b"}}}... 2024-06-15 23:01:25 | ERROR | 30 - Unknown error while getting Access Token: 422, message='Unprocessable Entity', url=URL('https://api.hamsterkombat.io/auth/auth-by-telegram-webapp') | Response text: {"type":"validation","on":"body","found":{"initDataRaw":null,"fingerprint":{"visitorId":"fa2be60d081a9c970d51aa5c531e0e7a"}}}... 2024-06-15 23:01:28 | ERROR | 30 - Unknown error while getting Access Token: 422, message='Unprocessable Entity', url=URL('https://api.hamsterkombat.io/auth/auth-by-telegram-webapp') | Response text: {"type":"validation","on":"body","fou

kirajok commented 1 week ago

Send the first lines after running the bot. I also recently encountered a similar problem, the first lines will tell more information

KOTBCTAKAHE commented 1 week ago

Hello. are you using a proxy?

Mix0c commented 1 week ago

Proxy=False Same problem, same errors. At first there are few errors, "Successful tapped!" goes normally. But later there are only errors: "ERROR | 30 - Unknown error while getting Access Token: 422"

ButCheR-PRO commented 1 week ago

Login to this telegram account from any device; Close all sessions with the Pyrogram header Recreate the session inside your bot

See this:

  1. https://github.com/shamhi/HamsterKombatBot/issues/309
  2. https://github.com/shamhi/HamsterKombatBot/issues/38
  3. https://github.com/shamhi/HamsterKombatBot/issues/58
  4. https://github.com/shamhi/HamsterKombatBot/issues/86
  5. https://github.com/shamhi/HamsterKombatBot/issues/137
  6. https://github.com/shamhi/HamsterKombatBot/issues/263