Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OutputKey in start_transcription_job() cant have = #4312

Open
1 task
sidatcd opened this issue Oct 19, 2024 · 0 comments
Open
1 task

OutputKey in start_transcription_job() cant have = #4312

sidatcd opened this issue Oct 19, 2024 · 0 comments
Labels
bug This issue is a confirmed bug. needs-triage This issue or PR still needs to be triaged.

Comments

@sidatcd
Copy link

sidatcd commented Oct 19, 2024

Describe the bug

An error occurs when calling the start_transcription_job() operation in AWS Transcribe with an OutputKey containing an equals sign (=).
This leads to a BadRequestException, even though S3 allows keys with "=".

Error

An error occurred (BadRequestException) when calling the StartTranscriptionJob operation: 1 validation error detected: Value 'name=name/stage=prod/2b32d9cd6ce13621d332e1ae23d7a7ba.json' at 'outputKey' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-zA-Z0-9-_.!*'()/]{1,1024}$ 

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

The OutputKey should allow the equals sign ("=") as it's a valid character in S3 object keys.

Current Behavior

Throws the regex validation error

Reproduction Steps

  1. Call start_transcription_job() with an OutputKey that includes "=" (e.g., name=name/stage=prod/...).
  2. Observe the error.

Possible Solution

No response

Additional Information/Context

No response

SDK version used

boto3==1.35.44

Environment details (OS name and version, etc.)

mac

@sidatcd sidatcd added bug This issue is a confirmed bug. needs-triage This issue or PR still needs to be triaged. labels Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a confirmed bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant