'ContactNotFoundException' while using "StopContact" API for the 'Callback Contact"

0

While trying to use the "StopContact" method I'm getting this exception, I verified the Contact ID is valid, actually the document is confusing so not sure if "StopContact" API supports queued callback,

As per the error description: Ref: https://docs.aws.amazon.com/connect/latest/APIReference/API_StopContact.html#:~:text=to%20Chat%2C%20Task%2C-,or%20Voice%20Callback.,-HTTP%20Status%20Code ContactNotFoundException The contact with the specified ID is not active or does not exist. Applies to Voice calls only, not to Chat, Task, or Voice Callback. HTTP Status Code: 410

Also there is one article which says Stop Contact now supports Callback https://aws.amazon.com/about-aws/whats-new/2022/05/amazon-connect-launches-api-to-programmatically-stop-queued-callbacks/

So can you confirm if it supports queued callback contacts,

demandé il y a un an314 vues
2 réponses
0

It definitely supports callbacks. Two questions:

  1. How are you creating the callback?
  2. How are you getting the Contact ID for the callback?
profile pictureAWS
répondu il y a un an
  • Hello Rob, thanks for the confirmation, please check my comments below,

    1. How are you creating the callback?

    => By transferring call to the callback queue by using the "Transfer to callback queue" option,

    1. How are you getting the Contact ID for the callback?

    => I'm saving the callback record to the DynamoDB where i'm saving the "ContactId", I also tried if I can get the"NextContactId" but looks like its not available, if the "ContactId" will not work is there any way to get "ContactId" of callback?

    Let me know if you need any additional details,

0

If you enable Amazon Connect contact events* what does the contact ID value show for the call once it's set for callback?

profile pictureAWS
répondu il y a 10 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions