Error 500 _dash-update-component when clicking on Toggles

Hello there,

Im deploying a dash app on my vps. My problem is, when I click on the toggles below the first graph, the graph “freezes”; it doesnt react anymore to the Range Slider.

I have the very same code on my localhost, and the very same app works perfectly fine. But there, on the Ubuntu server + Nginx + Gunicorn, I get this weird result.

The console throws an error 500 “POST http://…/_dash-update-component 500 (INTERNAL SERVER ERROR)”, index.js:646, but I have no clue how to fix this.

Is anyone familiar with this issue ?