Invalid parameter "codeHook" when calling UpdateIntent API of LexV2

0

Hello,

I need to enable CodeHooks for IntentConfirmation through a call to the UpdateIntent API for a LexV2 bot.

I see in the documentation it should be possible with the parameter "intentConfirmationSetting" with the "codeHook" field but when I try I have the following error:

["errorMessage": "Parameter validation failed:\nUnknown parameter in intentConfirmationSetting: "codeHook", must be one of: promptSpecification, declinationResponse, active"].

My bot seems misaligned with the doc: (https://docs.aws.amazon.com/lexv2/latest/dg/API_IntentConfirmationSetting.html) any idea to solve the issue ?

FYI my bot has been created on the 7th of September so with the last version of LexV2.

Thank You

질문됨 2년 전320회 조회
1개 답변
0

Hello,

Generally, the Unknown parameter/Parameter validation failed can hint at issues with the version of SDK/CLI on the client's end. Updating/upgrading your SDK version or CLI version should be the first step to check if you are still receiving the error.

Similar error have also been reported for service like ECS etc where the Parameter validation failed due to usage of older SDK version.

However, if you receive errors when running AWS Command Line Interface (AWS CLI) commands, then please make sure that you're using the most recent AWS CLI version.

Installing or updating the latest version of the AWS CLI - https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

Additionally, you can check the version of your CLI using aws --version command.

If the suggestions above do not help resolve the issue, we might need to troubleshoot based on your configurations. Could you please create a support case instead so we may discuss details on your resource configurations?

Please do not post any sensitive information over re:Post since this is a public platform.

As always, feel free to reach back with any further questions or concerns in the meantime!

profile pictureAWS
지원 엔지니어
Yash_C
답변함 2년 전

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

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

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

관련 콘텐츠