instagrapi icon indicating copy to clipboard operation
instagrapi copied to clipboard

[BUG] Instagram is returning null instead of list in clip media info

Open BipulLamsal opened this issue 1 month ago • 0 comments

Describe the bug Instagram is returning "audio_filter_infos": null inside clips_metadata.original_sound_info. Instagrapi expects this field to be a list, so Pydantic raises a ValidationError. To fix this type should be audio_filter_infos should be Optional[List[dict]]

To Reproduce client.user_clips(user_id,amount)

Expected behavior i was expecting list of media clips from user_id.

Screenshots

Image

Desktop (please complete the following information):

  • OS: 6.16.7-arch1-1
  • Python version : Python 3.13.7
  • instagrapi version : 2.2.1

Additional context Add any other context about the problem here.

BipulLamsal avatar Nov 15 '25 10:11 BipulLamsal