Dash Memoization for Callbacks with State components


I am finding troubles when using memoization caching for two Callbacks.
Both of them are using State components and one is updating a dropdown, whose State is used by both Callbacks.
The error is quite obscure because once one of the Callbacks is cached, the server stops the app.

On the other hand, once I turn all the State components into Input, everything works fine.

I am a newbie with caching, so please correct me if I made some mistake in the description.
Thanks in advance!


Could you please share what was the error you got (and maybe a minimal reproducible example)? This sounds like a bug…

Thanks @jlfsjunior for your answer,
Unfortunatelly I wans’t able to produce a MRE becasue the code is a bit complex.
The bug was solved fully after correcting some chained callbacks that required a single circular callback.
For newbies like me, please check the docs about circular callbacks in Dash:

Cheers! :slight_smile: