Error1 reports
Fix UnhashableParamError
in Streamlit
✅ Solution
The "UnhashableParamError" in Streamlit usually arises when passing mutable Python objects (like lists, dictionaries, or custom class instances without proper hashing) as arguments to Streamlit functions, particularly those using caching. To fix it, either convert the mutable object to an immutable type (e.g., tuple instead of list) or implement a `__hash__` method for your custom class to make it hashable; alternatively, use `streamlit.cache_data` for memoization if data immutability cannot be guaranteed.
Related Issues
Real GitHub issues where developers encountered this error:
Timeline
First reported:Jan 6, 2026
Last reported:Jan 6, 2026