We've compiled a list of the most common errors users face when using Reflex. If you have encountered an error that isn't answered here, feel free to reach out to us on our Discord.
Object null is not iterable
Server Error
TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator))
Hydration failed because the initial UI does not match
Unhandled Runtime Error
Error: Hydration failed because the initial UI does not match what was rendered on the server.
Invalid var passed for prop
TypeError: Invalid var passed for prop href, expected type <class 'str'>, got value {state.my_list.at(i)} of type typing.Any.
TypeError: metaclass conflict (SQLModel)
Python Error
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
ImportError: couldn't import psycopg
Import Error
ImportError: couldn't import psycopg 'python' implementation: libpq library not found | couldn't import psycopg 'binary' implementation: No module named 'psycopg_binary' | couldn't import psycopg 'c' implementation: No module named 'psycopg_c'