When attempting to log in with the following code, the api throws an error below. I have attempted to log in with multiple accounts, however still get the same error The username you entered doesn't appear to belong to an account
cl = Client()
cl.login(username, pass)
Error message:
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:
UnknownError Traceback (most recent call last)
[/usr/local/lib/python3.7/dist-packages/instagrapi/mixins/private.py](https://05od5wj55w65-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20220909-060048-RC00_473212632#) in _send_private_request(self, endpoint, data, params, login, with_signature, headers, extra_sig)
352 raise VideoTooLongException(e, response=e.response, **last_json)
353 elif error_type or message:
--> 354 raise UnknownError(**last_json)
355 # TODO: Handle last_json with {'message': 'counter get error', 'status': 'fail'}
356 self.logger.exception(e)
UnknownError: The username you entered doesn't appear to belong to an account. Please check your username and try again.
Login error
When attempting to log in with the following code, the api throws an error below. I have attempted to log in with multiple accounts, however still get the same error
The username you entered doesn't appear to belong to an account
Error message: