wit-ai / pywit

Python library for Wit.ai
Other
1.45k stars 359 forks source link

wit.ai API stoped working #115

Closed GTrela closed 6 years ago

GTrela commented 6 years ago

While sending a message or audio using wit.ai python client every time a get response:

wit.wit.WitError: Wit responded with status: 400 (Bad Request)

I check the token, and it's corrent.

That's the code I use: resp = None with open('test.wav', 'rb') as f: resp = client.speech(f, None, {'Content-Type': 'audio/wav'}) print('Yay, got Wit.ai response: ' + str(resp))

stopachka commented 6 years ago

Heyy @GTrela

stopachka commented 6 years ago

Update: resolved in https://github.com/wit-ai/wit/issues/1158