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

Unexpected end of JSON input #41

Open
emanuelevivoli opened this issue Sep 17, 2018 · 1 comment
Open

Unexpected end of JSON input #41

emanuelevivoli opened this issue Sep 17, 2018 · 1 comment

Comments

@emanuelevivoli
Copy link

When I try insta.getUserDataById() I get this error:

(node:11743) UnhandledPromiseRejectionWarning: FetchError: invalid json response body at https://www.instagram.com/query/ reason: Unexpected end of JSON input
    at myproject/node_modules/node-fetch/lib/body.js:48:31
    at process._tickCallback (internal/process/next_tick.js:68:7)

I tried to do reverse engineering but I'm young in node and i can't understand where I'm wrong.

@volkorros
Copy link

@emanuelevivoli Hello. I also faced this issue and also tried to do reverse engineering but without any successful results :( @yatsenkolesh please have a look!

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