t-abraham / instagent

GNU General Public License v3.0
11 stars 2 forks source link

Attempt to login.. error #13

Open ashiahjaguar2 opened 1 year ago

ashiahjaguar2 commented 1 year ago

Attempt to login... Unable to find file: /home/ashish20/instagent/app/config/gb_ashish.20.json Traceback (most recent call last): File "/home/ashish20/.local/lib/python3.10/site-packages/instagrapi/mixins/private.py", line 302, in _send_private_request response.raise_for_status() File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://i.instagram.com/api/v1/accounts/login/

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/ashish20/instagent/./app/main.py", line 244, in api_process(parms, readliner) File "/home/ashish20/instagent/./app/main.py", line 79, in api_process api.initialize( parms.identity, File "/home/ashish20/instagent/app/src/instagent.py", line 151, in initialize self.login(self.username, self.password, new_cookie) File "/home/ashish20/instagent/app/src/login.py", line 23, in login self.api.login(u, p) File "/home/ashish20/.local/lib/python3.10/site-packages/instagrapi/mixins/auth.py", line 390, in login logged = self.private_request("accounts/login/", data, login=True) File "/home/ashish20/.local/lib/python3.10/site-packages/instagrapi/mixins/private.py", line 451, in private_request raise e File "/home/ashish20/.local/lib/python3.10/site-packages/instagrapi/mixins/private.py", line 438, in private_request self._send_private_request(endpoint, kwargs) File "/home/ashish20/.local/lib/python3.10/site-packages/instagrapi/mixins/private.py", line 348, in _send_private_request raise BadPassword(last_json) instagrapi.exceptions.BadPassword: The password you entered is incorrect. Please try again. ashish20@DESKTOP-17B3KP7:~/instagent$