App will frozen when switching screens

hi, i have been tried to change here and there but none of this solve the issue.
where from screen “home” when i click the dynamic card view it should switch to screen “chat”, but ends up the whole app hang and need to end the app.
maybe i missed out somewhere and i appreciate if someone could help out.
thank you very much. :folded_hands: :folded_hands: :folded_hands:

screen 1
blocks (1)

home
blocks (2)

chat
blocks (3)

As per what I have seen in your blocks, I think you are doing this :cross_mark: wrong. How is the chat variable getting its value from TinyDB if you are not saving any values in TinyDB on the previous screen or during screen initialization? You are only saving values in TinyDB when the user clicks the Send button.

In your Dynamic CardView Click block, you’re using a make a list block as the startValue. This is risky unless you’re 100% sure the receiving screen (Chat) is decoding the list properly.

Temporarily replace the open another screen block with a Notifier.ShowAlert to display the startValue. That will help you verify what is actually being sent.

This kind of hang typically happens due to one or more of the following issues:

Incorrect startValue in the open another screen block

Data mismatch

Missing close screen
1748505923256

This often happens when there’s a problem with your startValue or extension.
First, if you have extension in your project, please check if there are any problems with the extension you are using in the project.
Second, if there are no problems with extensions, please check if there are any incorrect startValues.

Regards,
Aurora Projects