Unable to upload a GIF file in Media Library

System Information
  • Strapi Version: 4.12.4
  • Operating System: MacOS Sequoia 15.0.1
  • Database: Postgresql 15
  • Node Version: v18.17.1
  • Yarn Version: 1.22.21

Hello everyone, I have a very simple issue. I cannot upload a GIF file to the media library in the admin panel.
I can do it locally but the setup is pretty similar in terms of versions of strapi, postgres, node, etc. so I don’t see what the issue is. Currently prod and staging are hosted on Render.com and using local upload for the files.

What might be the issue? I upload a super normal, small GIF and it doesn’t work.
I read a lot on the forums but I am not sure if anybody had the same problem.
And no, I don’t want to update to Strapi v5 at the moment.

Hello, did you happen to find a solution to this issue? I’m facing the same problem.