Skip to content

BUG REPORT: Amazon Eventbridge Schedule name validation missing during creation

0

Simply speaking, i was able to create schedule with name length more than 64 . But when deleting the same i am getting validation error. Referring the documentation, i understood it would be a validation step missing when creating the schedule. I am now manually adding my own validation, would be nice if AWS solves it.

Error got after trying to delete a created schedule using boto3: "An error occurred (ValidationException) when calling the DeleteSchedule operation: 1 validation error detected: Value 'smartpay-session-check-smartpay-session-check-68df8402fa117ab30df05935-3min' at 'name' failed to satisfy constraint: Member must have length less than or equal to 64"

Reference: EventBridge Scheduler

asked a year ago139 views

1 Answer
-1

Based on the information provided, I don't see evidence in the sources that confirms a validation bug in EventBridge Scheduler regarding schedule name length during creation.

The sources provided don't specifically address schedule name length validation or any discrepancy between validation during creation versus deletion. The sources mainly cover:

  1. A specific issue with schedule expression format (the "at" expression format needs to be "at(yyyy-mm-ddThh:mm:ss)" without the Z timezone indicator)
  2. General API error types including ValidationException
  3. Examples of creating schedule groups and schedules with the AWS SDKs

If you're experiencing an issue where you can create a schedule with a name longer than 64 characters but then receive a validation error when trying to delete it, I would recommend:

  1. Double-check the AWS documentation for the specific name length requirements
  2. Consider implementing your own validation as you mentioned
  3. Report this potential bug through official AWS support channels or the AWS GitHub repositories

Without specific information in the provided sources about name length validation, I cannot confirm if this is indeed a bug in the EventBridge Scheduler service.
Sources
CreateSchedule - EventBridge Scheduler
Use CreateSchedule with an AWS SDK - AWS SDK Code Examples

answered a year ago

  • No, i was able to create schedule with name more than 64 and when deleting the same i get above error

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.