0

I create :

  • An API REST on API Gateway
  • A Lambda function with a trigger on API Gateway
  • A use this lambda as an Authorizer for API Gateway

I delete the trigger on Lambda function, when I try to add the trigger on lambda function, I have this error : An error occurred when creating the trigger: An integration is already present on this method.

enter image description here

ERROR ADD TRIGGER ON LAMBDA FUNCTION

6
  • This Question has been asked Before refer link Commented Sep 29, 2021 at 13:02
  • It's not the same problem, In my case the function is used as authorizer but not for API/method Commented Sep 29, 2021 at 13:05
  • Are you attaching an existing API to this new lambda function? Commented Sep 29, 2021 at 13:07
  • Yes, it's the same function and the same API, just I'm removing the trigger ok lambda function and I tried to recreate it a second time Commented Sep 29, 2021 at 13:16
  • I'm editing image on description, I add the message error from server aws Commented Sep 29, 2021 at 13:18

1 Answer 1

0

Thank you @Agnij. I'm removing API Gateway and recreate it and it's I deleted/recreated API Gateway and it works

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

Comments

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.