InstaPy / InstaPy/InstaPy

KeyError: 'graphql'

Open
#6,476 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
18.2k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

Receiving the following error when running instapy v0.6.16 on ubuntu 20.04:

`Traceback (most recent call last):
File "test.py", line 27, in
with smart_run(session):
File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
return next(self.gen)
File "/root/InstaPy/instapy/util.py", line 1983, in smart_run
session.login()
File "/root/InstaPy/instapy/instapy.py", line 475, in login
self.followed_by = log_follower_num(self.browser, self.username, self.logfolder)
File "/root/InstaPy/instapy/print_log_writer.py", line 21, in log_follower_num
followed_by = getUserData("graphql.user.edge_followed_by.count", browser)
File "/root/InstaPy/instapy/util.py", line 513, in getUserData
data = data[subobject]
KeyError: 'graphql'`

Seems to have started this week and it appears I'm not the only user experiencing the issue (see [discord](https://discord.gg/FDETsht) ).

Can provide whatever is necessary for further troubleshooting.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.