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

Request Errors #71

Open
dycops opened this issue Jul 4, 2022 · 8 comments
Open

Request Errors #71

dycops opened this issue Jul 4, 2022 · 8 comments

Comments

@dycops
Copy link

dycops commented Jul 4, 2022

If you have a problems with its
RequestError: Error: Exceeded maxRedirects. Probably stuck in a redirect loop
or
MaxListenersExceededWarning: Possible EventEmitter memory leak detected.

just add, it's work for me

session: "sessionid=BLAHLBAH; ds_user_id=YOUR_ID"

@olivierodo
Copy link

Thanks @dycops!

@falkenbach
Copy link

Thanks @dycops looks like its a requirement from July, single sessionid no longer enough

@thoriqazzikraa
Copy link

If you have a problems with its RequestError: Error: Exceeded maxRedirects. Probably stuck in a redirect loop or MaxListenersExceededWarning: Possible EventEmitter memory leak detected.

just add, it's work for me

session: "sessionid=BLAHLBAH; ds_user_id=YOUR_ID"

what is ds_user_id? my instagram username?

@dycops
Copy link
Author

dycops commented Oct 26, 2022

@thoriqazzikraa open dev tools > application > cookies
chrome_o1ZsJQLl5D

@thoriqazzikraa
Copy link

@thoriqazzikraa open dev tools > application > cookies chrome_o1ZsJQLl5D

i got it
but can you do example for this?
idk how to put my ds_user in options

@thoriqazzikraa
Copy link

@thoriqazzikraa open dev tools > application > cookies chrome_o1ZsJQLl5D

Screenshot_2022-10-27-01-18-44-13_375f2148cf8fa4d7b3a7c6a3ff0c7e6c

@thoriqazzikraa
Copy link

nah i think the cookie is starts with ig_did

@dycops
Copy link
Author

dycops commented Oct 27, 2022

@thoriqazzikraa check your options in session key

options: {
...
session: "sessionid=YOUR_SESSION_ID; ds_user_id=YOUR_ID"
...
}

not set "sessionid="

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

4 participants