Giter VIP home page Giter VIP logo

Comments (6)

angieyu avatar angieyu commented on July 30, 2024

Hi, can you try initiating chat with a different username? You also need to click "end chat", rather than just closing the chat window, to update the DynamoDB entry that the chat is closed.

from amazon-connect-chat-ui-examples.

gonovanatasha avatar gonovanatasha commented on July 30, 2024

@angieyu i clicked on "end chat" everythime but dynamodb updates late and when we click icon again it shows initialization failed

from amazon-connect-chat-ui-examples.

jobijaco avatar jobijaco commented on July 30, 2024

Hi @angieyu,
I am facing a similar issue when trying to initialize the Chat widget on the customer application end. The DynamoDb table does not get updated when a new chat is initiated after ending the previous chat. This makes use of the same Participant token leading to a 403 Access Denied error.

Attaching the har capture screenshot for reference.

Please let me know on how to proceed further on this?
Screenshot 2022-12-20 at 1 51 02 PM

from amazon-connect-chat-ui-examples.

haomingli2020 avatar haomingli2020 commented on July 30, 2024

Hi, on Feb 10, 2023 the asyncCustomerChatUX template was deprecated.
Please switch to using the startChatContactAPI template, and let us know if this issue still occurs

from amazon-connect-chat-ui-examples.

spencerlepine avatar spencerlepine commented on July 30, 2024

Resolving, due to team no longer supporting asyncCustomerChatUX example - will not fix.

Please refer to startChatContactAPI solution with Persistent chat feature:

how do we recover an ongoing session? So, if the user leaves the window and comes back, can we get into the same chat window if the session is still active?

You need to maintain the chat contact id (initial/segment contact) per use-case and supply it when starting a new persistent chat session via StartChatContact api. Ensure that the past chat is ended, as in the given example, when the user leaves the chat session, they must end that chat, either via DisconnectParticipant or StopChat.

and for sessions that are closed, in the API there is this persistent chat attributes

Persistent chat requires customers to enable chat transcript on the instance. (please check Data Storage section here). We load transcript on-demand, what that means is that customers must call the GetTranscript api to see past chat transcript via the pagination token. (How to access past chat contact transcript for a persistent chat here)

Thanks,
Spencer

from amazon-connect-chat-ui-examples.

outplex avatar outplex commented on July 30, 2024

Resolving, due to team no longer supporting asyncCustomerChatUX example - will not fix.

Please refer to startChatContactAPI solution with Persistent chat feature:

how do we recover an ongoing session? So, if the user leaves the window and comes back, can we get into the same chat window if the session is still active?

You need to maintain the chat contact id (initial/segment contact) per use-case and supply it when starting a new persistent chat session via StartChatContact api. Ensure that the past chat is ended, as in the given example, when the user leaves the chat session, they must end that chat, either via DisconnectParticipant or StopChat.

and for sessions that are closed, in the API there is this persistent chat attributes

Persistent chat requires customers to enable chat transcript on the instance. (please check Data Storage section here). We load transcript on-demand, what that means is that customers must call the GetTranscript api to see past chat transcript via the pagination token. (How to access past chat contact transcript for a persistent chat here)

Thanks, Spencer

@spencerlepine thanks, quick question. This solution you're sharing allows us to load a previous conversation's transcript when starting a new chat. But how could we connect a participant to the same chat conversation if let's say the participant refreshes the page or browses to a different site section.

from amazon-connect-chat-ui-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.