7

When I try to add the trigger, I get the following error:

"There was an error creating the trigger: Configuration is ambiguously defined. Cannot have overlapping suffixes in two rules if the prefixes are overlapping for the same event type."

I'm not sure what's gone wrong here.

3
  • Did you created a trigger with the same name earlier and used it somewhere and then delete that trigger, and now creating trigger with the same name? This kind of problem happens when the previously created trigger is still "linked". Also you can check the AWS forms here Commented Sep 8, 2017 at 4:58
  • 1
    Please tell us more about what you were doing. What type of trigger? What values did you select? Do you have any other Lambda functions with triggers defined? Commented Sep 8, 2017 at 7:40
  • One reason could be that some other lambda function previously using the same trigger was deleted. What is the trigger you are using to invoke Lambda? Commented Sep 8, 2017 at 8:38

2 Answers 2

7

One reason could be that some other lambda function previously using the same trigger was deleted. This does not automatically clear the event notification from the S3 side. You have to navigate to the S3 console and manually delete the stale event notifications. Once that is done, you should be able to create the same trigger again for another lambda function.

Sign up to request clarification or add additional context in comments.

Comments

6
  1. Navigate to S3 and click on the name of your bucket.

  2. Click on the “Properties” tab.

  3. Scroll down to the Advanced properties and on the events section you should see 1 or more active notifications.

  4. Click on the square to edit notifications and delete the notification that is still listening to your lambda function in error.

Congrats, no more dangling reference!

2 Comments

Yep, that's exactly what happened to me! It worked after I deleted some of the event notifications from the S3 bucket. Thanks!
No "Properties" tab in 2024. Can't find Advanced properties.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.