I just ran into this type error in my plotly dash app. In my case it was two controls having the identical id by accident. Hope this helps!