Error when trying to add .gif media in CKEDITOR from AWS S3

System Information
  • Strapi Version: 4.2.1
  • Operating System: App is hosted on heroku
  • Database: Postgres / AWS
  • Node Version: v16.5.1
  • NPM Version: 8.11.0
  • Yarn Version: 1.22.19

Error occurs when trying to add .gif media in CKEDITOR from AWS S3