Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown error on getting access token #112

Open
garootman opened this issue Jul 5, 2024 · 1 comment
Open

Unknown error on getting access token #112

garootman opened this issue Jul 5, 2024 · 1 comment

Comments

@garootman
Copy link

2024-07-05 17:54:54 | ERROR | 159 - ****** | Unknown error while getting TapBot Data: 403, message='Forbidden', url=URL('https://api-gw-tg.memefi.club/graphql')

Though, accompanied by somehow successfull taps

response = await http_client.post(url=self.GRAPHQL_URL, json=tg_web_data)
response.raise_for_status()

raises:
ClientResponseError(RequestInfo(url=URL('https://api-gw-tg.memefi.club/graphql'), method='POST', headers=<CIMultiDictProxy('Host': 'api-gw-tg.memefi.club', 'Accept': 'application/json', 'Accept-Language': 'ru-RU,ru;q=0.9', 'Content-Type': 'application/json', 'Origin': 'https://tg-app.memefi.club', 'Referer': 'https://tg-app.memefi.club/', 'Sec-Ch-Ua': '"Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"', 'Sec-Ch-Ua-mobile': '?1', 'Sec-Ch-Ua-platform': '"Android"', 'Sec-Fetch-Dest': 'empty', 'Sec-Fetch-Mode': 'cors', 'Sec-Fetch-Site': 'same-site', 'User-Agent': 'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Mobile Safari/537.36', 'Accept-Encoding': 'gzip, deflate', 'Content-Length': '798')>, real_url=URL('https://api-gw-tg.memefi.club/graphql')), (), status=403, message='Forbidden', headers=<CIMultiDictProxy('Date': 'Fri, 05 Jul 2024 14:00:09 GMT', 'Content-Type': 'text/html; charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'X-Frame-Options': 'SAMEORIGIN', 'Referrer-Policy': 'same-origin', 'Cache-Control': 'max-age=15', 'Expires': 'Fri, 05 Jul 2024 14:00:24 GMT', 'Vary': 'Accept-Encoding', 'Server': 'cloudflare', 'CF-RAY': '89e7e1346887959d-TBS', 'Content-Encoding': 'gzip', 'alt-svc': 'h3=":443"; ma=86400')>)

image

@mrdarkerr
Copy link

SLEEP_BETWEEN_TAP = [38, 40]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants