mifi / SimpleInstaBot

Simple Instagram bot GUI
MIT License
607 stars 87 forks source link

JSON Error #281

Open 4tasso opened 3 months ago

4tasso commented 3 months 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 2 months 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 2 months 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 ?

Angelma108 commented 1 month ago

Any help on this ? Still with the same problem

Angelma108 commented 1 month ago

I put the log in here. I need to say that this happens random some times, after som hours of using the bot it suddenly stops and the error appears all time. After one day off, it start to work again and the cycle starts again.

1:14 PMSetting language to English (en) 1:14 PMWaiting 1.52 sec 1:14 PMWaiting 4.28 sec 1:14 PMFound language selector 1:14 PMAlready English language 1:14 PMSaving cookies 1:14 PMHave followed/unfollowed 0 in the last hour 1:14 PMHave followed/unfollowed 82 in the last 24 hours 1:14 PMHave liked 14 images in the last 24 hours 1:14 PMFailed to detect username Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'viewer') at pptr://puppeteer_evaluation_script:1:34 1:14 PMTrying to get user data from HTML 1:14 PMNavigating to user anotherproblem_ 1:14 PMGoto https://www.instagram.com/someinstapage 1:14 PMPage loaded 1:14 PMWaiting 3.99 sec 1:15 PMNeed to intercept network request to get user data 1:15 PMUnable to intercept request, will send manually 1:15 PMFailed to manually send request Error: Evaluation failed: SyntaxError: Unexpected token < in JSON at position 0 1:15 PMFailed to run SyntaxError: Unexpected token < in JSON at position 0

twistmachine commented 1 month ago

I switched to GrammAddict, this repo and app is dead since 8 month.

Angelma108 commented 1 month ago

I switched to GrammAddict, this repo and app is dead since 8 month.

I'm trying to install GramAddict on my Raspberry Pi. I had SimpleInsta Bot installed there, but I'm having trouble getting GramAddict to work. I don't have any Android devices to connect, so it's been challenging.

mifi commented 1 month ago

I think it’s probably due to some temporary blocks by instagram. Dont know what to do about it, but there are some other github issues here regarding similar problems

MilanObrenovic commented 2 weeks ago

i'm having the same issue as well