Skip to content

[Speech-To-Text]: add_custom_word fails #311

@amaresh-rajasekharan

Description

@amaresh-rajasekharan

The call to python SDK add_custom_word fails. The error I get is Method not allowed - 405.

Upon checking the source for the SDK I see it uses POST method, but the STT documentation involves a curl method with PUT method.

I changed the code by calling the request method directly (by-passing the higher level API add_custom_words) but changing the request to PUT in my code. And that worked fine.

So unless I am mistaken the SDK needs to use the PUT method perhaps?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions