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

Uncaught Instagram\SDK\Exceptions\ApiResponseException in src/Response/Serializers/AbstractResponseSerializer.php:137 #86

Open
JerichoWord opened this issue Sep 2, 2023 · 3 comments

Comments

@JerichoWord
Copy link

i cannot login to instagrame


--   | Fatal error: Uncaught Instagram\SDK\Exceptions\ApiResponseException in /www/wwwroot/8851/src/Response/Serializers/AbstractResponseSerializer.php:137   | Stack trace:   | #0 /www/wwwroot/8851/src/Response/Serializers/AbstractResponseSerializer.php(59): Instagram\SDK\Response\Serializers\AbstractResponseSerializer::toException()   | #1 /www/wwwroot/8851/src/Response/Serializers/User/LoginResponseSerializer.php(59): Instagram\SDK\Response\Serializers\AbstractResponseSerializer->decode()   | #2 /www/wwwroot/8851/src/Client/Client.php(177): Instagram\SDK\Response\Serializers\User\LoginResponseSerializer->decode()   | #3 /www/wwwroot/8851/src/Utils/PromiseUtils.php(34): Instagram\SDK\Client\Client->Instagram\SDK\Client\{closure}()   | #4 /www/wwwroot/8851/vendor/guzzlehttp/promises/src/TaskQueue.php(48): Instagram\SDK\Utils\PromiseUtils::Instagram\SDK\Utils\{closure}()   | #5 /www/wwwroot/8851/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(118): GuzzleHttp\Promise\TaskQueue->run()   | #6 /www/wwwroot/8851/vendor/guzzlehttp/guzzle/src/Handler/CurlMu in /www/wwwroot/8851/src/Response/Serializers/AbstractResponseSerializer.php on line 137
@JerichoWord
Copy link
Author

JerichoWord commented Sep 2, 2023

setProxyUri('192.16*8.5.*5:7**0')->build(); $response = $instagram->login('wqa', 'Tdwa');

@bad-robo
Copy link

hi
php my cpanel : 7.4

i get proxy this site :
https://hidemy.io/en/proxy-list/?type=s#list

and problem

Fatal error: Uncaught Instagram\SDK\Exceptions\InstagramException: cURL error 7: Failed to connect to 35.220.175.141 port 8081: Connection timed out (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://i.instagram.com/api/v1/si/fetch_headers/ in /home3/nimlxueu/public_html/insta/vendor/nicklasw/instagram-api/src/Utils/PromiseUtils.php:58 Stack trace: #0 /home3/nimlxueu/public_html/insta/vendor/nicklasw/instagram-api/src/Traits/MakeAccountRequestAccessible.php(33): Instagram\SDK\Utils\PromiseUtils::wait(Object(GuzzleHttp\Promise\Promise)) #1 /home3/nimlxueu/public_html/insta/user.php(13): Instagram\SDK\Instagram->login('se#####', '####00') #2 {main} thrown in /home3/nimlxueu/public_html/insta/vendor/nicklasw/instagram-api/src/Utils/PromiseUtils.php on line 58

@bad-robo
Copy link

Fixing the above problem (for others):

This problem is due to the blocked ip host or filter.
Your problem will be solved by using a private (or healthy) proxy.

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