Diagnose and fix missing Contact Trace Records, CloudFormation failures, KMS errors, and stale Operata secrets in the Cloud Collector integration.
The Cloud Collector on Amazon Connect fails in four common ways: CTR delivery gaps, CloudFormation failures, integration monitoring gaps, and stale Operata secrets. Start at the section that matches your symptom.
Contact Trace Records (CTRs) only emit when the contact is fully closed. Allow up to five minutes between the contact ending and the record appearing in Operata.Check the basics:
Check the source Kinesis stream for KMS encryption
If the Kinesis CTR stream uses a customer-managed AWS Key Management Service (KMS) key, the Amazon EventBridge Pipe execution role needs decrypt permission. Follow Grant KMS access to the EventBridge Pipe.
In the AWS console, open EventBridge → Pipes and find operataEventsPipe-{instance}-amazonConnect. The status should be RUNNING. Click into the pipe and check Monitoring for delivery failures. The most common failures are KMS access denied (see above), Lambda timeouts (raise the Lambda’s memory or VPC routing), and API destination 4xx responses (regenerate the Operata API token).
In the AWS console, open CloudWatch → Log groups and find /aws/lambda/CloudCollectorV3Stack-cloudcollectorv3redactor-…. Look for ERROR or Task timed out. Forward the relevant log lines to Operata Support.
The stack creates IAM roles, Secrets Manager secrets, Amazon EventBridge resources, and a Lambda. Confirm the deploying principal has the administrator deployment policy attached, or equivalent permissions.
If CloudFormation reports ResourceAlreadyExists on Secrets Manager or the EventBridge connection, an earlier install left state behind. Follow Rotate or delete Operata secrets below, then re-run the stack.
The Cloud Collector stores credentials in two places:
cloud-collector-v3/ctr/{Operata Group ID}/apiToken in Secrets Manager — the Operata API token the Lambda uses to authenticate.
events!connection/operataAPIgroup-{Operata Group ID}/… in Secrets Manager — created by EventBridge when the API destination was registered. Holds the API destination connection credentials.
Rotate or delete them when you rotate the Operata API token, decommission the integration, or hit a ResourceAlreadyExists error on redeploy.
Deleting the API token secret immediately stops CTR delivery.The Lambda can’t authenticate with Operata while the secret is gone. No CTRs reach the Operata API until you create a new secret with a valid token.
# List Operata secrets in this regionaws secretsmanager list-secrets \ --filters Key=name,Values=cloud-collector-v3# Delete with the default seven-day recovery windowaws secretsmanager delete-secret \ --secret-id "cloud-collector-v3/ctr/$OPERATA_GROUP_ID/apiToken"# Or delete immediately (no recovery window — use with care)aws secretsmanager delete-secret \ --secret-id "cloud-collector-v3/ctr/$OPERATA_GROUP_ID/apiToken" \ --force-delete-without-recovery
In the AWS console, open Secrets Manager, filter on cloud-collector-v3, select the secret, and choose Actions → Delete. To delete the EventBridge connection, open EventBridge → API destinations → Connections and delete operataAPIgroup-{Group ID}.
Place a test contact through Amazon Connect. Within five minutes of contact end, the contact appears in Get the Details in the Operata console. If it doesn’t, the EventBridge Pipe monitoring panel shows the failure reason.