# \[discourse-animated-avatars\] All avatar uploads failing - key not found: "resize\_animated"

**URL:** <https://meta.discourse.org/t/discourse-animated-avatars-all-avatar-uploads-failing-key-not-found-resize-animated/410707>\
**Category:** Bug\
**Created:** [August 22, 2026, 7:46pm UTC](https://meta.discourse.org/t/discourse-animated-avatars-all-avatar-uploads-failing-key-not-found-resize-animated/410707 "2026-08-22T19:46:56Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![akanora](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/akanora/32/575035_2.png) [@akanora](https://meta.discourse.org/u/akanora)\
**Post date:** [August 22, 2026, 7:46pm UTC](https://meta.discourse.org/t/discourse-animated-avatars-all-avatar-uploads-failing-key-not-found-resize-animated/410707/1 "2026-08-22T19:46:56Z")

</div>

**Description:**  
When users try to upload or update a profile picture (whether .gif, .png, or .jpg), the upload fails with a `422 (Unprocessable Content)` error on the frontend.

This is currently happening on the latest Discourse version (`v2026.8.0-latest.1`) and seems to be caused by the `discourse-animated-avatars` plugin crashing the image optimization pipeline.

**Error Logs:**  
Looking at the Sidekiq/Rails logs, the plugin fails in `UploadCreator` because it expects a `resize_animated` key that appears to be missing from the current core options hash:

```plaintext
Job exception: key not found: "resize_animated"

/var/www/discourse/app/models/optimized_image.rb:336:in 'Hash#fetch'
/var/www/discourse/app/models/optimized_image.rb:336:in 'OptimizedImage.optimize'
/var/www/discourse/plugins/discourse-animated-avatars/lib/discourse_animated_avatars/optimized_image_extension.rb:9:in 'DiscourseAnimatedAvatars::OptimizedImageExtension::ClassMethods#resize_animated'
/var/www/discourse/plugins/discourse-animated-avatars/lib/discourse_animated_avatars/upload_creator_gifsicle_extension.rb:18:in 'DiscourseAnimatedAvatars::UploadCreatorGifsicleExtension#crop!'
/var/www/discourse/lib/upload_creator.rb:115:in 'block in UploadCreator#create_for'
```

I’m opening this as a bug report since it completely breaks all avatar upload functionality on the latest version, not just animated ones. Let me know if you need any additional logs.

---

_[View the full topic](https://meta.discourse.org/t/discourse-animated-avatars-all-avatar-uploads-failing-key-not-found-resize-animated/410707)._
