mifi / SimpleInstaBot

Simple Instagram bot GUI
MIT License
600 stars 85 forks source link

JSON Error #281

Open 4tasso opened 1 month ago

4tasso commented 1 month ago

Zrzut ekranu 2024-08-01 203317

Bot starting, correctly login, change page to my site and crash.

LOGS FROM LAST RUN 11:31 AMNo cookies found 11:31 AMSetting language to English (en) 11:31 AMWaiting 1.39 sec 11:31 AMWaiting 5.53 sec 11:32 AMFound language selector 11:32 AMAlready English language 11:32 AMWaiting 1.44 sec 11:32 AMNo login page button, assuming we are on login form 11:32 AMWaiting 1.63 sec 11:32 AMWaiting 1.85 sec 11:32 AMSetting language to English (en) 11:32 AMWaiting 1.61 sec 11:32 AMWaiting 3.16 sec 11:32 AMFound language selector 11:32 AMAlready English language 11:32 AMSaving cookies 11:32 AMHave followed/unfollowed 0 in the last hour 11:32 AMHave followed/unfollowed 0 in the last 24 hours 11:32 AMHave liked 0 images in the last 24 hours 11:32 AMFailed to detect username Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'viewer') at pptr://puppeteer_evaluation_script:1:34 11:32 AMTrying to get user data from HTML 11:32 AMNavigating to user myinsta 11:32 AMGoto https://www.instagram.com/myinsta 11:32 AMPage loaded 11:32 AMWaiting 2.04 sec 11:32 AMNeed to intercept network request to get user data 11:32 AMUnable to intercept request, will send manually 11:32 AMFailed to manually send request Error: Evaluation failed: SyntaxError: Unexpected token < in JSON at position 0 11:32 AMFailed to run SyntaxError: Unexpected token < in JSON at position 0

twistmachine commented 3 weeks ago

I can confirm that i have the same problem here. The bot was running correctly during four days and then this message appeared. I tried full reset of the app (deleting appdata folder). Same problem and im on windows

Angelma108 commented 23 hours ago

I have the same error too, i think it started when our account is verified, but maybe just a coincidence.

Normally it works for some hours, then this error appears and doesn't work again for one or two days, then it starts to work again and the cycle starts. When doesn't works, i tried other accounts and goes well. Changed to other device and still not work.

Any help on that ?