Traceback (most recent call last):
File "/home/user/tiktokbot/main.py", line 21, in <module>
feed: List[Post] = bot.list_following_feed(6, 0)
File "/home/user/tiktokbot/venv/lib/python3.7/site-packages/tiktok_bot/bot/bot.py", line 77, in list_following_feed
feed = self.api.list_following_feed(request)
File "/home/user/tiktokbot/venv/lib/python3.7/site-packages/tiktok_bot/api/api.py", line 108, in list_following_feed
feed = ListFeedResponse(**response.json())
File "pydantic/main.py", line 275, in pydantic.main.BaseModel.__init__
File "pydantic/main.py", line 785, in pydantic.main.validate_model
pydantic.error_wrappers.ValidationError: 5 validation errors for ListFeedResponse
min_cursor
field required (type=value_error.missing)
max_cursor
field required (type=value_error.missing)
extra
field required (type=value_error.missing)
has_more
field required (type=value_error.missing)
aweme_list
field required (type=value_error.missing)
I've tried it too, to use bot.api.login_with_email(), but this gives the same error.
Correct me if I'm using this wrong
Code
Error
I've tried it too, to use
bot.api.login_with_email()
, but this gives the same error. Correct me if I'm using this wrong