Embeddable AI

Absolute newb failing to upload an audio file for the Watson Speech to text service: please help?

  • 1.  Absolute newb failing to upload an audio file for the Watson Speech to text service: please help?

    Posted Mon February 07, 2022 09:28 AM
    Hello, all!
    My apologies in advance for asking a question that might be absolutely basic to most of you here. I don't even know if I am posting to the correct forum / venue. Please bear with me and help if you can.

    What I want to do: Use the IBM Watson Speech to text service to transcribe an audio file (an interview) currently in FLAC format.
    What I have already tried:
    1. I am using the native CURL on my Windows 11 platform from the command line.
    2. I followed the instructions on the Getting Started with Speech to text page.
    3. I am using the IBM Cloud method for Transcribing Audio with No Options as written on that page. 
    4. I am calling the POST method with -X option (as instructed), -u (with my API key), --header (for file content type, FLAC), and --data-binary (showing the path to my file).
    5. I have, I think, correctly put in (i.e. copied and pasted) my API Key and the specialized URL, adding v1/recognize at the end.
    Yet, every time, I am getting an Internal Server Error message that says:
    <HTML><HEAD>
    <TITLE>Internal Server Error</TITLE>
    </HEAD><BODY>
    <H1>Internal Server Error - Write</H1>
    The server encountered an internal error or misconfiguration and was unable to
    complete your request.<P>
    Reference&#32;&#35;4&#46;5e333217&#46;1644195435&#46;6afbfe47
    </BODY></HTML>
    Can some kind soul help me, or at least help me understand what I am doing wrong?

    Thanks in advance,

    Best,

    Kausik

    ------------------------------
    Kausik Datta
    Status: Basic Newb.
    ------------------------------

    #BuildwithWatsonApps
    #EmbeddableAI