EventBridge API destination not working

1

Hi, I'm trying to follow the video tutorial in https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html, also using the webhook.site as a consumer. Sample messages are sent with success, the sample rule is matched, but the API destination is not called at all. When sending the same payload using Postman, the endpoint shows request/response. Cloudwatch does not list failed invocations. Did anyone try to follow the video recently and can confirm this is actually working? Thanks!

已提問 1 年前檢視次數 1018 次
3 個答案
0
已接受的答案

Should anyone stumble across this as well: Apparently, the setup with webhook.site as the API destination is not applicable in arbitrary regions. I tried using "eu-central-1", which failed. Doing the same in "us-east-2" worked immediately. When setting up a local echo service and publish it using ngrok, it worked for "eu-central-1" as well.

已回答 1 年前
0

Works find. Make sure that your rule is set up correctly. Verify it by a CloudWatch Logs target to the same rule. If the event matches the rule, you will see it in CloudWatch Logs.

profile pictureAWS
專家
Uri
已回答 1 年前
0

I have the same issue, I'm using a Salesforce endpoint in APIDestination instead of Webhook Site.

APIDestination and Connection are right, when I perform the request with Postman it works well.

About the Rule, if I set the target to Cloudwatch it works well, but when I set the rule to APIDestination I see in Rule Monitoring it fails. The role that I assigned in the Rule Target for the APIDestination is AWSServiceRoleForAmazonEventBridgeApiDestinations.

Does anybody know where I can find info about why is failing the rule with I use the APIDestination as a target?

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南