You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2023. It is now read-only.
Some bug when handling login response with InstagrapiSession.
[ERROR] list index out of range
Traceback (most recent call last):
File "D:\user\prog\threads_bot\v2\main.py", line 22, in
asyncio.run(main())
File "C:\Users\Bou\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\Bou\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bou\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "D:\user\prog\threads_bot\v2\main.py", line 18, in main
await bot.start()
File "D:\user\prog\threads_bot\v2\threads_manager\timeline_manager.py", line 34, in start
await self.login(self.username, self.password, cached_token_path="data\.session")
File "D:\user\prog\threads_bot\v2\venv\Lib\site-packages\threads_api\src\threads_api.py", line 257, in login
token = self.instagrapi_client.private.headers['Authorization'].split("Bearer IGT:2:")[1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
Some bug when handling login response with InstagrapiSession.
[ERROR] list index out of range
Traceback (most recent call last):
File "D:\user\prog\threads_bot\v2\main.py", line 22, in
asyncio.run(main())
File "C:\Users\Bou\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\Bou\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bou\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "D:\user\prog\threads_bot\v2\main.py", line 18, in main
await bot.start()
File "D:\user\prog\threads_bot\v2\threads_manager\timeline_manager.py", line 34, in start
await self.login(self.username, self.password, cached_token_path="data\.session")
File "D:\user\prog\threads_bot\v2\venv\Lib\site-packages\threads_api\src\threads_api.py", line 257, in login
token = self.instagrapi_client.private.headers['Authorization'].split("Bearer IGT:2:")[1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: