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

How to fix 302 found error? #65

Open
jakiepari opened this issue Aug 17, 2021 · 6 comments
Open

How to fix 302 found error? #65

jakiepari opened this issue Aug 17, 2021 · 6 comments
Labels
bug Something isn't working cannot reproduce yet

Comments

@jakiepari
Copy link

(node:4) UnhandledPromiseRejectionWarning: IgResponseError: POST /api/v1/accounts/msisdn_header_bootstrap/ - 302 Found;

I got this error and i dunno how to fix it. Can someone help me?

@Chrom-Pharaoh
Copy link

Yes i find way to fix it: go to node_modules then @androz2091/insta.js/src/structrures/Client.js then go to line 359 and delete it

@jakiepari
Copy link
Author

Yes i find way to fix it: go to node_modules then @androz2091/insta.js/src/structrures/Client.js then go to line 359 and delete it

Thank you!

@farihdzkyy
Copy link

Yes i find way to fix it: go to node_modules then @androz2091/insta.js/src/structrures/Client.js then go to line 359 and delete it

but if in heroku how? In my vps Is working but not in heroku

@Chrom-Pharaoh
Copy link

Yes i find way to fix it: go to node_modules then @androz2091/insta.js/src/structrures/Client.js then go to line 359 and delete it

but if in heroku how? In my vps Is working but not in heroku

just copy insta.js folder from node modules and put in your directory and replace require("@androz2091/insta.js") with require("./insta.js")

@Chrom-Pharaoh
Copy link

Yes i find way to fix it: go to node_modules then @androz2091/insta.js/src/structrures/Client.js then go to line 359 and delete it

Thank you!

You're welcome

@Androz2091
Copy link
Owner

Why is it working? It should not as you are not passing a state to the package right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cannot reproduce yet
Projects
None yet
Development

No branches or pull requests

4 participants