AWS MediaLive ConflictException: Unable to Add Schedules actions to channel

0

I have a CloudFormation template that creates a MediaLive channel with two inputs—static and dynamic. It sends a CREATE_COMPLETE notification to an SNS topic, which then triggers a Lambda function to update the MediaLive channel's schedule with dynamic input by fetching files from S3.

However, the issue arises when updating the schedules: sometimes, I receive the error "ConflictException: This channel does not currently support the ability to add channel schedules. To enable channel scheduling for this channel, please restart it."

Any insights on how to resolve this would be appreciated.

3 個答案
1
已接受的答案

Using the scheduling function with AWS MediaLIve Channels has some requirements. A channel can not be started with a Dynamic Input. A Static input must first be selected. Once the channel is running, then input switches to Dynamic inputs can be performed.

Also, depending on the input switch being scheduled, the channel may need to be running for the schedule to properly execute. This is especially true with the Switch Immediate and Follow selections for upcoming content.

AWS
已回答 5 個月前
1

Could it be that you are not following the rule for the API bach updates where delete actions must be performed before any add actions? Use the delete-schedule command only on idle channels.

Please see the following documentation: https://docs.aws.amazon.com/medialive/latest/ug/about-batch-update-schedule.html

AWS
已回答 5 個月前
0

You might also take a look in IAM to make sure your permissions/roles are setup to give the services involved the ability to perform actions and access resources you need.

AWS
專家
已回答 5 個月前

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

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

回答問題指南