Skip to content

[BUG] Login failed when getting reels and timeline: Expecting value: line 1 column 1 (char 0) #2378

@solo-entrepreneurs

Description

@solo-entrepreneurs

This affects release 2.2.1 of instagrapi

How to reproduce:

from instagrapi import Client

cl = Client()
cl.login("xxx", "yyy")
cl.dump_settings("session.json")

# reload later without entering credentials again

(where xxx and yyy are the username and password of any normal instagram account that has existed for a while).

Image

Traceback:
Image

Swapping the order to

        check_flow.append(self.get_timeline_feed(["cold_start_fetch"]))        
        check_flow.append(self.get_reels_tray_feed("cold_start"))

in mixins/auth.py then leads to:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions