By using AWS re:Post, you agree to the AWS re:Post Terms of Use

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 Answers
1
Accepted Answer

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
answered 3 months ago
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
answered 3 months ago
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
EXPERT
answered 3 months 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.

Guidelines for Answering Questions