Voicemail for Amazon Connect solution -- error in TranscriptionEvents lambda

0

Hello,

I followed the implementation guide for the Voicemail for Amazon Connect solution and I'm getting the error below in the TranscriptionEventsLambda. I'm having trouble figuring out where the missing "SecretId" param should be coming from and what the value should be. I don't see that in the implementation guide. Thanks!

2022-02-09T23:08:49.594Z undefined INFO error MissingRequiredParameter: Missing required key 'SecretId' in params at ParamValidator.fail (/var/runtime/node_modules/aws-sdk/lib/param_validator.js:50:37) at ParamValidator.validateStructure (/var/runtime/node_modules/aws-sdk/lib/param_validator.js:61:14) at ParamValidator.validateMember (/var/runtime/node_modules/aws-sdk/lib/param_validator.js:88:21) at ParamValidator.validate (/var/runtime/node_modules/aws-sdk/lib/param_validator.js:34:10) at Request.VALIDATE_PARAMETERS (/var/runtime/node_modules/aws-sdk/lib/event_listeners.js:132:42) at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20) at callNextListener (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:96:12) at /var/runtime/node_modules/aws-sdk/lib/event_listeners.js:86:9 at finish (/var/runtime/node_modules/aws-sdk/lib/config.js:386:7) at /var/runtime/node_modules/aws-sdk/lib/config.js:404:9 at EnvironmentCredentials.get (/var/runtime/node_modules/aws-sdk/lib/credentials.js:127:7) at getAsyncCredentials (/var/runtime/node_modules/aws-sdk/lib/config.js:398:24) at Config.getCredentials (/var/runtime/node_modules/aws-sdk/lib/config.js:418:9) at Request.VALIDATE_CREDENTIALS (/var/runtime/node_modules/aws-sdk/lib/event_listeners.js:81:26) at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:102:18) at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:78:10) at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:688:14) at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10) at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12) at Request.runTo (/var/runtime/node_modules/aws-sdk/lib/request.js:408:15) at /var/runtime/node_modules/aws-sdk/lib/request.js:797:12 at new Promise (<anonymous>) { code: 'MissingRequiredParameter', time: 2022-02-09T23:08:49.532Z }

1 Risposta
1
Risposta accettata

Looks similar to the issue described at https://github.com/amazon-connect/voicemail-for-amazon-connect/issues/58 - the TranscriptionEventsLambdaFunction needs an environment variable called SECRET_ARN, which should be the same as the one in ContactVoicemailStreamLambda. It'll also require permissions to retrieve the secret (secretsmanager:GetSecretValue for the VoicemailSecret secret).

AWS
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande