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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠