Closed lluccardoner closed 8 years ago
I was getting the same thing and I couldn't find a workaround. However I think what's going on is that Google updated their voice API recently (in the last year or two) and the url that requests processing isn't valid anymore. I wasn't able to find the new syntax for that URL but it shouldn't be terribly hard to redo. Let me know if I can help!
I got it to work, it isn't outdated. Join the Chromium-dev group on Google and get the private Speech API instead of Google Cloud Speech API.
Thanks @HydroTekZ Would you mind updating the Wiki page about this? The instructions are slightly more confusing now that there are two speech APIs and it's probably the most common question we get asked. 👍
Hello! I am using your API and I am using the Duplex code given by you. I did all the steps for getting the API key and I put it in the YOUR_API_KEY variable.
When I run it I get the 403 error (menaing that the key is not valid?) The point is that I am not able to connect with the google api. This is my output:
Starting to write Error: 403 Error has occured java.io.IOException: Error writing request body to server at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError(HttpURLConnection.java:3478)
How can I fix it? Is there any code I have to add?
Thanks.