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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容