Debug Your Infrastructure

Get Instant Solutions for Kubernetes, Databases, Docker and more

AWS CloudWatch
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Pod Stuck in CrashLoopBackOff
Database connection timeout
Docker Container won't Start
Kubernetes ingress not working
Redis connection refused
CI/CD pipeline failing

AWS Polly EngineNotSupportedException

The specified engine is not supported for the selected voice.

Understanding AWS Polly

AWS Polly is a service provided by Amazon Web Services that turns text into lifelike speech. It allows developers to create applications that can talk, making it a powerful tool for enhancing user interaction and accessibility. Polly supports a wide range of languages and voices, enabling developers to choose the most suitable voice for their application needs.

Identifying the Symptom

When using AWS Polly, you might encounter the EngineNotSupportedException error. This error typically manifests when you attempt to synthesize speech using an incompatible engine for the selected voice. The error message is clear but can be frustrating if you're unsure why it's occurring.

Explaining the Issue

The EngineNotSupportedException error occurs when the engine specified in your request does not support the voice you have chosen. AWS Polly offers two types of engines: the standard engine and the neural engine. Not all voices are available in both engines, which can lead to this error if there's a mismatch.

Standard vs. Neural Engine

The standard engine provides high-quality speech synthesis, while the neural engine offers more natural and human-like speech. However, the neural engine is only available for a subset of voices. You can find more information about supported voices and engines in the AWS Polly Voice List.

Steps to Resolve the Issue

To resolve the EngineNotSupportedException, follow these steps:

Step 1: Verify the Voice and Engine Compatibility

Check the compatibility of the voice and engine you are using. Refer to the AWS Polly Voice List to ensure that the voice you selected is available for the engine you are using.

Step 2: Modify Your Request

Once you've verified compatibility, modify your request to use a compatible engine. For example, if you are using a neural voice that is not supported by the neural engine, switch to the standard engine:

{
"OutputFormat": "mp3",
"Text": "Hello, world!",
"VoiceId": "Joanna",
"Engine": "standard"
}

Step 3: Test Your Configuration

After making the necessary changes, test your configuration to ensure that the error is resolved. You can use the AWS CLI or SDKs to perform a test synthesis request.

Conclusion

By ensuring that the voice and engine you select are compatible, you can effectively resolve the EngineNotSupportedException error in AWS Polly. This will allow you to continue leveraging the powerful capabilities of AWS Polly to enhance your applications. For further assistance, refer to the AWS Polly Documentation.

Master 

AWS Polly EngineNotSupportedException

 debugging in Minutes

— Grab the Ultimate Cheatsheet

(Perfect for DevOps & SREs)

Most-used commands
Real-world configs/examples
Handy troubleshooting shortcuts
Your email is safe with us. No spam, ever.

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

🚀 Tired of Noisy Alerts?

Try Doctor Droid — your AI SRE that auto-triages alerts, debugs issues, and finds the root cause for you.

Heading

Your email is safe thing.

Thank you for your Signing Up

Oops! Something went wrong while submitting the form.

MORE ISSUES

Deep Sea Tech Inc. — Made with ❤️ in Bangalore & San Francisco 🏢

Doctor Droid