Hi,
I have embeddedthe Streams API in an angular project. I have made a custom UI for messaging using amazon connect and amazon chat-js. It works perfectly good untill i refresh the browser. When i Refresh my browser i check the getContact details in connect.EventType.INIT, i you can see in code snippet,
as you can see i check for the agent.getContacts(). and my rest of the logic depends on that logic.
I got the error
Uncaught (in promise): StateError: There is no upstream conduit!
StateError: There is no upstream conduit!
Can anyone please help to handle browser Refresh case or identify where i am doing wrong.
Hi, I have embeddedthe Streams API in an angular project. I have made a custom UI for messaging using amazon connect and amazon chat-js. It works perfectly good untill i refresh the browser. When i Refresh my browser i check the getContact details in connect.EventType.INIT, i you can see in code snippet,
as you can see i check for the agent.getContacts(). and my rest of the logic depends on that logic. I got the error Uncaught (in promise): StateError: There is no upstream conduit! StateError: There is no upstream conduit! Can anyone please help to handle browser Refresh case or identify where i am doing wrong.