Skip to content

MediaConvert ERROR status not triggering EventBridge/sns

0

Hi there, For demonstration puproses I've made a typo in the file Input of my job. Expecting my https webhook to be triggered with a Error status. But now it seems error statusses are not being triggered in my rule? Even tho my event pattern is set as follows: { "source": ["aws.mediaconvert"], "detail-type": ["MediaConvert Job State Change"], "detail": { "status": ["ERROR"] } }

Also without the detail property I'm not getting them?

Anyone knows why?

asked 2 years ago332 views

1 Answer
1
Accepted Answer

There are a few potential reasons why your MediaConvert ERROR status might not be triggering your EventBridge rule and SNS notification:

  1. Event Pattern: Your event pattern looks correct for capturing MediaConvert job errors. However, make sure that you've applied this pattern correctly in your EventBridge rule configuration.

  2. Permissions: Ensure that EventBridge has the necessary permissions to publish messages to your SNS topic. The SNS topic policy should allow the events.amazonaws.com service to publish to it. If your SNS topic is encrypted, you'll also need to grant EventBridge permissions to use the KMS key.

  3. Delay: There might be a slight delay between when you create or modify a rule and when it becomes fully effective. If you've recently set up the rule, wait a few minutes and try again.

  4. Event Generation: Confirm that MediaConvert is actually generating the ERROR event. You can check the MediaConvert console or CloudWatch logs to verify if the job is indeed failing and generating an error status.

  5. Region: Make sure your EventBridge rule is in the same region as your MediaConvert jobs.

To troubleshoot:

  1. Double-check your EventBridge rule configuration.
  2. Verify the SNS topic permissions.
  3. Test with a broader event pattern (e.g., capture all MediaConvert events) to see if you're receiving any events at all.
  4. Check CloudWatch metrics for your EventBridge rule to see if it's being triggered.
  5. Ensure your webhook endpoint is accessible and functioning correctly.

If you've verified all these points and are still not receiving notifications, you may want to contact AWS support for further assistance.
Sources
Events with ERROR status - MediaConvert
Setting up EventBridge rules - MediaConvert
Troubleshooting Amazon EventBridge - Amazon EventBridge

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.