instagrapi icon indicating copy to clipboard operation
instagrapi copied to clipboard

[BUG] Login & login_by_sessionid not working

Open becko8011 opened this issue 2 years ago • 3 comments

Try Instagrapi SaaS with a free trial https://hikerapi.com/p/5GBWznd3

hello login & login_by_sessionid is broken

login_by_sessionid - after succesfully login, any action showing "Login Requied" its works perfect before few days what happand?

becko8011 avatar Nov 04 '23 16:11 becko8011

same here

Voharin avatar Nov 19 '23 09:11 Voharin

I was following https://subzeroid.github.io/instagrapi/usage-guide/best-practices.html and it was working nice can you report why this stopped to working i used fresh instagram account these instagram accounts working fine with other instagram scap libraries also can you help how to change these ip 269.0.0.18.75 and device info

8019ad&get_fna_candidates=true'}, 'pop_info_endpoint': {'value': 'https://graph.facebook.com/glb_map'}, 'pop_info_params': {'value': 'access_token=432827354065804|cb9c2da18237a3bb72878cc3a28019ad&get_all_clusters=true'}, 'latency_params': {'value': 'access_token=432827354065804|cb9c2da18237a3bb72878cc3a28019ad&pop_cluster_pool=all&request_direction=get'}, 'latency_sample_rate': {'value': 25000}, 'sonar_prober_endpoint': {'value': 'https://graph.facebook.com/sonar_prober'}, 'use_falco_logger': {'value': True}, 'use_legacy_logger': {'value': False}, 'is_connectivity_test_enabled': {'value': True}, 'connectivity_test_host_v4': {'value': ''}, 'connectivity_test_host_v6': {'value': 'sonar6-sea1-1.xx.fbcdn.net'}, 'log_after_each_probe_killswitch': {'value': False}}}, 'xav_switcher_ig4a_badge_impression_cap_experiment_device_based': {'params': {'hide_horizontal_badge_only': {'value': False}, 'impression_cap': {'value': 10}, 'impression_cap_enabled': {'value': False}, 'impression_expiration_time_in_seconds': {'value': 86400}}}}, 'status': 'ok'} DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): i.instagram.com:443 DEBUG:urllib3.connectionpool:https://i.instagram.com:443 "GET /api/v1/qe/sync/ HTTP/1.1" 405 0 INFO:instagrapi:https://i.instagram.com/api/v1/accounts/login/ DEBUG:urllib3.connectionpool:https://i.instagram.com:443 "POST /api/v1/accounts/login/ HTTP/1.1" 400 293 DEBUG:instagrapi:private_request 400: https://i.instagram.com/api/v1/accounts/login/ ({"message":"The username you entered doesn't appear to belong to an account. Please check your username and try again.","status":"fail","error_title":"Incorrect username","buttons":[{"title":"Try Again","action":"dismiss"}],"invalid_credentials":true,"exception_name":"UserInvalidCredentials"}) INFO:private_request:[email protected] [400] POST https://i.instagram.com/api/v1/accounts/login/ (269.0.0.18.75, OnePlus 6T Dev) INFO:root:Couldn't login user using username and password: Instagram has blocked your IP address, use a quality proxy provider (not free, not shared) ERROR:root:Error fetching clips for client 2278169415: Couldn't login user with either password or session

@a

zakrian07 avatar Dec 16 '23 06:12 zakrian07

@Voharin @becko8011 the issue was we need use username if you will use email this exception comes you can close this issue now

zakrian07 avatar Dec 16 '23 13:12 zakrian07