locked
No error message after Speech Recognition RRS feed

  • Question

  • Hi,

    I'm using the service in Python and I'm able to retrieve the AuthToken. Unfortunately the second request fails all the time with no error:

    HTTP Code: 200

    Header:

    {'transfer-encoding': 'chunked', 'server': 'Microsoft-IIS/8.5', 'date': 'Fri, 17 Mar 2017 09:45:22 GMT', 'x-cu-machinename': 'DB5SCH101051318', 'x-msedge-ref': 'Ref A: 8F5D887879354B92894E1023AABCD670 Ref B: PRASCHEDGE0618 Ref C: Fri Mar 17 02:45:22 2017 PST', 'content-type': 'application/json'}

    Body: 

    {"version":"3.0","header":{"status":"error","properties":{"requestid":"67ec0b23-b667-4909-8a11-4ce48188ea06"}}}

    The request I sent:

    {'Content-Type': 'audio/wav; samplerate=16000', 'Authorization': 'Bearer ...'}

    Friday, March 17, 2017 9:54 AM

All replies

  • More info about my request:

    POST https://speech.platform.bing.com/recognize?scenarios=ulm&appid=D4D52672-91D7-4C74-8AD8-42B1D98141A5&locale=fr-FR&device.os=linux&version=3.0&format=json&requestid=53450132-e3ba-455a-af2c-6c0610c13185&instanceid=53450132-e3ba-455a-af2c-6c0610c13185
    Content-Length: 1184044
    Content-Type: audio/wav; samplerate=16000
    Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzY29wZSI6Imh0dHBzOi8vc3BlZWNoLnBsYXRmb3JtLmJpbmcuY29tIiwic3Vic2NyaXB0aW9uLWlkIjoiMmZhOGFhNDk5MjA5NDBhMmI1YjZlNzBhN2ZhYjRlMzgiLCJwcm9kdWN0LWlkIjoiQmluZy5TcGVlY2guUHJldmlldyIsImNvZ25pdGl2ZS1zZXJ2aWNlcy1lbmRwb2ludCI6Imh0dHBzOi8vYXBpLmNvZ25pdGl2ZS5taWNyb3NvZnQuY29tL2ludGVybmFsL3YxLjAvIiwiYXp1cmUtcmVzb3VyY2UtaWQiOiIiLCJpc3MiOiJ1cm46bXMuY29nbml0aXZlc2VydmljZXMiLCJhdWQiOiJ1cm46bXMuc3BlZWNoIiwiZXhwIjoxNDg5NzQ1MjgwfQ.qu68jmWPLWS4u-4EvcX3VO_ajXl3Wmbq9Qh7yfc-FdA

    (the raw WAV file in the body)

    Friday, March 17, 2017 10:19 AM