Closed avarudkar closed 6 years ago
hi @avarudkar, I cannot reproduce your issue using pywit 5.1.0.
For reference, here is my code:
import wit
client = wit.Wit(access_token=MY_TOKEN)
print(client.message('fly from sfo to nyc'))
Did anything change on your side? Is the issue resolved? If not, please comment back, thank you
hi @blandinw I am not sure what the problem is. Something may have changed on my side, but I haven't updated any packages or anything lately. I tried to run the code again this morning, but it gave me the same error. I will work with my system admin to find out if anything has changed at their end (although I highly doubt that). I will report back if it is resolved at my end. Thanks for responding!
Just thinking out loud: could there be a compatibility issue with the API version? Pywit is 20160516, but my app is at 20180510.
I have been using pywit for a couple of weeks. It was working fine till now. However, today it gave me an unexpected "bad handshake" error. I tried regenerating my access token and working with the fresh one, but the error recurs.
Code and error:
client = Wit(access_token)
client.message('what is the weather in london?')
More info: Python version 2.7.14 Wit Version: 5.1.0
Any ideas on why this is happening suddenly?