Support » Plugin: AWS for WordPress » unsupported neural feature

  • Resolved Umit Ozaydin

    (@umitdragoman)


    Hi,

    Wordpress gives the following error for neural voices, how can solve then?

    Error Details
    =============
    An error of type E_ERROR was caused in line 195 of the file /home/customer/www/dragoman.ist/public_html/wp-content/plugins/amazon-polly/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php. Error message: Uncaught exception ‘Aws\Polly\Exception\PollyException’ with message ‘Error executing “SynthesizeSpeech” on “https://polly.eu-west-1.amazonaws.com/v1/speech”; AWS HTTP error: Client error: POST https://polly.eu-west-1.amazonaws.com/v1/speech resulted in a 400 Bad Request response:
    {“message”:”Unsupported Neural feature”} InvalidSsmlException (client): Unsupported Neural feature – {“message”:”Unsupported Neural feature”}’

    GuzzleHttp\Exception\ClientException: Client error: POST https://polly.eu-west-1.amazonaws.com/v1/speech resulted in a 400 Bad Request response:
    {“message”:”Unsupported Neural feature”} in /home/customer/www/dragoman.ist/public_html/wp-content/plugins/amazon-polly/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
    Stack trace:
    #0 /home/customer/www/dragoman.ist/public_html/wp-content/plugins/amazon-polly/vendor/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
    #1 /h

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor tstachlewski

    (@tstachlewski)

    Hi,
    Which region, language and voice are you using?

    Thread Starter Umit Ozaydin

    (@umitdragoman)

    Hi Tomasz,

    I am in Euro West, Ireland. Do you want me to change regions?

    Thread Starter Umit Ozaydin

    (@umitdragoman)

    I just got this error for another post: https://dragoman.ist/amazon-glossary/

    Error Details
    =============
    An error of type E_ERROR was caused in line 195 of the file /home/customer/www/dragoman.ist/public_html/wp-content/plugins/amazon-polly/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php. Error message: Uncaught exception ‘Aws\Polly\Exception\PollyException’ with message ‘Error executing “SynthesizeSpeech” on “https://polly.eu-west-1.amazonaws.com/v1/speech”; AWS HTTP error: Client error: POST https://polly.eu-west-1.amazonaws.com/v1/speech resulted in a 400 Bad Request response:
    {“message”:”Unsupported Neural feature”} InvalidSsmlException (client): Unsupported Neural feature – {“message”:”Unsupported Neural feature”}’

    GuzzleHttp\Exception\ClientException: Client error: POST https://polly.eu-west-1.amazonaws.com/v1/speech resulted in a 400 Bad Request response:
    {“message”:”Unsupported Neural feature”} in /home/customer/www/dragoman.ist/public_html/wp-content/plugins/amazon-polly/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
    Stack trace:
    #0 /home/customer/www/dragoman.ist/public_html/wp-content/plugins/amazon-polly/vendor/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
    #1 /h

    Plugin Contributor tstachlewski

    (@tstachlewski)

    Hi,
    And which voice and language is it?

    Thread Starter Umit Ozaydin

    (@umitdragoman)

    Hi Tomasz,

    It is English and happened with Joanna.

    For the record, and as per my other tickets, I cannto create audio on new posts – since I enabled Neural feature.

    I suspect a conflict between the Neural feature and another wordpress function. But I am not a developer – just a suspicious mind 🙂

    Plugin Contributor tstachlewski

    (@tstachlewski)

    Hi,
    Disable ‘Automated breaths’ option in text-to-speech functionality – then it will work.

    I’m getting the same thing. I’ve disabled the automated breaths and still no luck.

    An error of type E_ERROR was caused in line 195 of the file /amazon-polly/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php. Error message: Uncaught exception ‘Aws\Polly\Exception\PollyException’ with message ‘Error executing “SynthesizeSpeech” on “https://polly.us-east-1.amazonaws.com/v1/speech”; AWS HTTP error: Client error: POST https://polly.us-east-1.amazonaws.com/v1/speech resulted in a 400 Bad Request response:
    {“message”:”Unsupported Neural feature”}
    InvalidSsmlException (client): Unsupported Neural feature – {“message”:”Unsupported Neural feature”}’

    Just to update it appeared it wasn’t working since in the page it shows the clock as 00:00 but when I hit play the correct time shows and it plays. Another strange thing is that sound works in Firefox but not Chrome.

    Yet another update! The sound in chrome was being blocked by default. You have to see if there is a little audio icon in the url bar indicating it’s blocked. I do see the download link with the three dots at far right of player, but this doesn’t appear in Firefox.

    Plugin Contributor tstachlewski

    (@tstachlewski)

    @tateword
    One problem by case please 🙂 Regarding the error: please make sure you have got the latest plugin version installed (3.1.5) – if the problem is still there, please provide:
    – region
    – languaae
    – voice

    Regarding last comment: it’s normal that chrome and firefox will behave diferently, and ‘download’ button might not be shown everywhere.

    Thread Starter Umit Ozaydin

    (@umitdragoman)

    Hi Tomasz,

    I just updated Amazon AI plugin on my website dragoman.ist
    At the beginning it did not solve the problem.

    I then edited the posts which were giving error and changed the voice to another. It now works.

    I guess you solved the problem with the update. I will do further tests to make sure.
    If you do not hear from me for another 48 hours, you can tick this item resolved.

    Thanks for your amazing support. You are a good developer.

    Plugin Contributor tstachlewski

    (@tstachlewski)

    Closing.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘unsupported neural feature’ is closed to new replies.