Menu

#94 [bug] An error occurred when running the app: 1 validation error for Media

closed
nobody
bug (44)
2025-08-14
2025-07-16
Anonymous
No

Originally created by: jaucabiles

Describe the bug

I am getting this error everytime I try instagram chat start or any chat <commands>:

An error occurred when running the app: 1 validation error for Media
clips_metadata.original_sound_info
Input should be a valid dictionary or instance of ClipsOriginalSoundInfo [type=model_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.11/v/model_type

Screenshots

Image

Desktop (please complete the following information):

  • OS: Windows 10 Home
  • Version 22H2

Related

Tickets: #100

Discussion

  • Anonymous

    Anonymous - 2025-07-17

    Originally posted by: endernoke

    This seems to be an issue with instagrapi and how it handles Instagram API responses. It’s likely that a specific chat has missing fields in the response, which can happen since Instagram doesn’t have an official API. We’ll look into adding a wrapper to prevent these errors from breaking chat functionality, but it seems to be a very rare case.

    Could you try searching and opening a few specific chats (instagram chat search "chat_title") and see if it works properly? If it does it is probably a rare issue with loading message from one specific chat in the list.

    Also, while this is probably not related to your issue, currently support for Windows is no longer maintained. Consider running the app in WSL instead.

     
  • Anonymous

    Anonymous - 2025-07-17

    Originally posted by: supreme-gg-gg

    Seems relevant: [#47]

    Having the entire app crash because one chat is missing is quite sad 😢 we'll try to prevent that

     

    Related

    Tickets: #47

  • Anonymous

    Anonymous - 2025-07-30

    Originally posted by: qazxwecvr

    Could you try searching and opening a few specific chats (instagram chat search "chat_title") and see if it works properly? If it does it is probably a rare issue with loading message from one specific chat in the list.

    Not the OP but I was having the same issue and instagram chat search "chat_title" is also broken, at least in my case. I'm on arch linux and using version 1.3.6 (just installed using pip)

     
  • Anonymous

    Anonymous - 2025-08-03

    Originally posted by: supreme-gg-gg

    I saw this reported a few times on instagrapi https://github.com/subzeroid/instagrapi/issues/2254 related to the new version last month (2.2.1), I will revert instagrapi to the previous version (2.1.3) should fix this, let me know if this still happens. You might need to first either manually downgrade instagrapi or just upgrade instagram CLI

     
  • Anonymous

    Anonymous - 2025-08-14

    Originally posted by: supreme-gg-gg

    This should be fixed by the last release, pls reopen if happens again

     
  • Anonymous

    Anonymous - 2025-08-14

    Ticket changed by: supreme-gg-gg

    • status: open --> closed
     

Log in to post a comment.

Auth0 Logo