Skip to content

Please help to find details of CloudFormation error InvalidRequest

0

My CloudFormation stack iot-secsvcs-system-bootstrap-service-sqs-dev encountered the following error:

2024-12-29 22:12:46 UTC-0500 BootstrapBucket CREATE_FAILED

Resource handler returned message: "Unable to validate the following destination configurations (Service: S3, Status Code: 400, Request ID: DHMNKHPCFQ4PT3PV, Extended Request ID: 5vYodQn8XI9XK/lBL1munCY5b24MUhWheIQFKDgwfzl5vC9I8pbTHBP9+UFTkVJ/J0VzeVgVRFYY6BB2EFuXqg==)" (RequestToken: 5f5854c5-b8e1-b222-1944-66a8649205ec, HandlerErrorCode: InvalidRequest)

Log URL : https://eu-west-1.console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/events?filteringText=bootstrap&filteringStatus=active&viewNested=true&stackId=arn%3Aaws%3Acloudformation%3Aeu-west-1%3A639610612892%3Astack%2Fiot-secsvcs-system-bootstrap-service-sqs-dev%2F0d9b0030-7683-11ef-abed-065fb7a042dd

Can you help to find further details of this error? I like to know how to adjust the config so it can pass.

asked 2 years ago217 views

1 Answer
0

You're encountering the error "Unable to validate the following destination configurations" due to either an invalid destination or a missing/incorrect resource-based policy that allows S3 to publish notifications to the destination.

To resolve this issue, you can refer to this repost article: https://repost.aws/knowledge-center/lambda-invoke-error-s3-bucket-permission which provides the required destination policy and steps to resolve the problem.

If you continue to face the issue, you can check the PutBucketNotification/PutBucketNotificationConfiguration API call [1] in CloudTrail to view the details. Alternatively, you can reach out to AWS Support [2], as the support engineers have the necessary permissions to check the CloudFormation stack in your account.

References:

[1] https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketNotification.html

[2] https://aws.amazon.com/contact-us/

answered 2 years ago

AWS
SUPPORT ENGINEER

revised 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.