Bug report - Image settings issue (Unprocessable Entity) #2476

Closed
opened 2025-11-11 15:08:10 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @guiteubeuh on GitHub (Oct 26, 2024).

I've encountered an issue with the image settings in /admin/settings/image using AUTOMATIC1111. When I initially save my settings, everything works fine. However, when I try to change a parameter (e.g. the model) and click on "Save", I receive the following error in the terminal:

"POST /images/api/v1/config/update HTTP/1.1" 422 Unprocessable Entity

The web page becomes unresponsive and I need to reload. After reloading, I notice that the "Image Generation Engine" is disabled. When I try to activate it, I get the same error:

"POST /images/api/v1/config/update HTTP/1.1" 422 Unprocessable Entity
INFO: 127.0.0.1:13606 - "GET /api/config HTTP/1.1" 200 OK
INFO: 127.0.0.1:13606 - "GET /images/api/v1/models HTTP/1.1" 200 OK

Reproduction steps :

Go to /admin/settings/image and access the image settings.
Change a parameter (e.g. the model) and click on "Save".
Observe the error in the terminal and the web page becoming unresponsive.
Reload the page and try to activate the "Image Generation Engine".

Expected result :
The image settings should be updated successfully without any errors.

Actual result :
The error message is displayed, and the web page becomes unresponsive.

Additional information :
I'm using the AUTOMATIC1111 model. I've tried reloading the page and clearing the cache, but the issue persists.

Thank you :
Thank you for your assistance and congratulations to the community for creating this promising tool!

Originally created by @guiteubeuh on GitHub (Oct 26, 2024). I've encountered an issue with the image settings in /admin/settings/image using AUTOMATIC1111. When I initially save my settings, everything works fine. However, when I try to change a parameter (e.g. the model) and click on "Save", I receive the following error in the terminal: "POST /images/api/v1/config/update HTTP/1.1" 422 Unprocessable Entity The web page becomes unresponsive and I need to reload. After reloading, I notice that the "Image Generation Engine" is disabled. When I try to activate it, I get the same error: "POST /images/api/v1/config/update HTTP/1.1" 422 Unprocessable Entity INFO: 127.0.0.1:13606 - "GET /api/config HTTP/1.1" 200 OK INFO: 127.0.0.1:13606 - "GET /images/api/v1/models HTTP/1.1" 200 OK Reproduction steps : Go to /admin/settings/image and access the image settings. Change a parameter (e.g. the model) and click on "Save". Observe the error in the terminal and the web page becoming unresponsive. Reload the page and try to activate the "Image Generation Engine". Expected result : The image settings should be updated successfully without any errors. Actual result : The error message is displayed, and the web page becomes unresponsive. Additional information : I'm using the AUTOMATIC1111 model. I've tried reloading the page and clearing the cache, but the issue persists. Thank you : Thank you for your assistance and congratulations to the community for creating this promising tool!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#2476