instagram-private-api
instagram-private-api copied to clipboard
API Error when using a proxy
Bug Report
Form
Requirements
- [x] I've searched the Issues
- [x] I've read the basic concepts
- [x] I'm using the latest version
- [x] I've debugged my code using the
DEBUG
variable.
Platform
- [x] I'm using Node.js version
v16.13.2
- [ ] I'm using electron
Description
When using any type of proxy and making any kind of request, the following occurs: IgNetworkError: Instagram API error was made. Unfortunately, I have little data on this error, although it is DEBUG.
Error
IgNetworkError: Instagram API error was made.
at Request.faultTolerantRequest (.../node_modules/instagram-private-api/dist/core/request.js:133:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Request.send (.../node_modules/instagram-private-api/dist/core/request.js:48:26)
at async UserStoryFeed.request (.../node_modules/instagram-private-api/dist/feeds/user-story.feed.js:14:26)
at async UserStoryFeed.items (.../node_modules/instagram-private-api/dist/feeds/user-story.feed.js:7:26)
Check proxy, or give correct format.
Check proxy, or give correct format.
Proxy works through other services, format set as in the example.
Get the same problem today, call this error:
IgNetworkError: Instagram API error was made.
I tried different Proxy IPs but it does not work. and I tried http and socks5 all failed now... please Help!
Same problem. Proxy is working normaly
Same problem
Check response code, it seems it giving 500> status code on Instagram. Or Instagram blocking IP.
Same error here.
IgNetworkError: Instagram API error was made.
at Request.faultTolerantRequest (/root/instanote/node_modules/instagram-private-api/src/core/request.ts:179:13)
at async Request.send (/root/instanote/node_modules/instagram-private-api/src/core/request.ts:77:22)
IgNetworkError: Instagram API error was made.
at Request.faultTolerantRequest (/root/instanote/node_modules/instagram-private-api/src/core/request.ts:179:13)
at async Request.send (/root/instanote/node_modules/instagram-private-api/src/core/request.ts:77:22)
It is proxy error.
@kingbotss I've tried proxies from different providers, and got the same error. And these proxies work perfectly fine with other libraries which logs in to Instagram, so Instagram doesn't ban their IPs.
share me details (privately). I will check.