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
Traceback (most recent call last):
File "\test.py", line 8, in <module>
story = client.photo_upload_to_story('FAQS.png')
File "C:\Users\XXX\AppData\Local\Programs\Python\Python310\lib\site-packages\instagrapi\mixins\photo.py", line 417, in photo_upload_to_story
self.__pydantic_validator__.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for Story
is_paid_partnership
Field required [type=missing, input_value={'links': [], 'mentions':...], 'clips_metadata': {}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.6/v/missing
Expected behavior
Should not give errors.
Desktop (please complete the following information):
OS: Python
Python version 3.10.5
instagrapi version 2.1.1
The text was updated successfully, but these errors were encountered:
Describe the bug
Pydantic says that 'is_paid_partnership' field is required in order to post a story.
To Reproduce
Traceback
Expected behavior
Should not give errors.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: