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

Failed to run SyntaxError: Unexpected token < in JSON at position 0 #286

Open
MilanObrenovic opened this issue Oct 28, 2024 · 0 comments
Open

Comments

@MilanObrenovic
Copy link

MilanObrenovic commented Oct 28, 2024

To Reproduce
Run the bot, login and get this error:

Screenshots
image

Desktop (please complete the following information):

  • OS: iMac Sonoma 14.6.1
  • Browser: Brave Browser
  • Version: v1.70.117

Additional context

  • No settings have been changed, they remain by default config.

Provide me with HTML
LOGS FROM LAST RUN
1:50 PMNo cookies found
1:50 PMSetting language to English (en)
1:50 PMWaiting 1.64 sec
1:50 PMWaiting 4.12 sec
1:50 PMFound language selector
1:50 PMAlready English language
1:50 PMWaiting 1.40 sec
1:50 PMNo login page button, assuming we are on login form
1:50 PMWaiting 1.00 sec
1:50 PMWaiting 1.68 sec
1:50 PMStill not logged in, trying to reload loading page
1:50 PMWaiting 9.06 sec
1:51 PMWARNING: Login has not succeeded. This could be because of an incorrect username/password, or a "suspicious login attempt"-message. You need to manually complete the process, or if really logged in, click the Instagram logo in the top left to go to the Home page.
1:51 PMWaiting 8.63 sec
1:51 PMWaiting 9.28 sec
1:51 PMWaiting 5.39 sec
1:51 PMWaiting 9.51 sec
1:51 PMWaiting 7.60 sec
1:51 PMWaiting 9.27 sec
1:51 PMSetting language to English (en)
1:51 PMWaiting 1.11 sec
1:52 PMWaiting 3.40 sec
1:52 PMFound language selector
1:52 PMAlready English language
1:52 PMSaving cookies
1:52 PMHave followed/unfollowed 0 in the last hour
1:52 PMHave followed/unfollowed 104 in the last 24 hours
1:52 PMHave liked 0 images in the last 24 hours
1:52 PMFailed to detect username Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'viewer')
at pptr://puppeteer_evaluation_script:1:34
1:52 PMTrying to get user data from HTML
1:52 PMNavigating to user -CENSORED-
1:52 PMGoto https://www.instagram.com/-CENSORED-
1:52 PMPage loaded
1:52 PMWaiting 2.77 sec
1:52 PMNeed to intercept network request to get user data
1:52 PMUnable to intercept request, will send manually
1:52 PMFailed to manually send request Error: Evaluation failed: SyntaxError: Unexpected token < in JSON at position 0
1:52 PMFailed to run SyntaxError: Unexpected token < in JSON at position 0

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

1 participant