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개 답변
1
수락된 답변

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
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠