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!

feita há um ano1018 visualizações
3 Respostas
0
Resposta aceita

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.

respondido há um ano
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
ESPECIALISTA
Uri
respondido há um ano
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?

respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas