WubbaLubbaDubDubDev / notpixel_bot_advanced

notpixel_bot_advanced is a Telegram automation tool designed to help you manage and interact with @notpixel. This bot can create sessions, gather statistics, and automate tasks for your accounts.
Apache License 2.0
23 stars 1 forks source link

Error : https://notpx.app/api/v1/offer/check #30

Open ape3xdiem opened 3 days ago

ape3xdiem commented 3 days ago

ERROR | 1234 - 4 | Unknown error: 403, message='Forbidden', url=URL('https://notpx.app/api/v1/offer/check')

Then sleep

WubbaLubbaDubDubDev commented 3 days ago

ERROR | 1234 - 4 | Unknown error: 403, message='Forbidden', url=URL('https://notpx.app/api/v1/offer/check')

Then sleep

Try updating the script. I’ve made some adjustments to address your situation.

ape3xdiem commented 3 days ago

Thanks for quick action

bu still continue ERROR | 1236 - 1 | Unknown error: 403, message='Forbidden', url=URL('https://notpx.app/api/v1/offer/check')

As a workaround, I disable the relevant lines and run normally

 # await self.check_response(http_client=http_client)

and

async def check_response(self, http_client):

#    headers_ = copy.deepcopy(headers_check)
#    headers_['User-Agent'] = self.user_agent
#    response = await http_client.post("https://notpx.app/api/v1/offer/check", headers=headers_)
#    response.raise_for_status()
prognt commented 2 days ago

same

WubbaLubbaDubDubDev commented 2 days ago

same

Today, I was researching the game and noticed that during the launch, it makes a request to the check controller. I decided to add this request to the bot to make it mimic the game's behavior as closely as possible in terms of requests. However, it seems that not everyone’s game makes a check request. In your case, during the request, you are getting a "403 Forbidden" response, meaning access is denied.

Kravt48 commented 2 days ago

same error, how to fix it?

WubbaLubbaDubDubDev commented 2 days ago

same error, how to fix it?

fixed