it Works with prerecorded file, but get 403 error in streaming connection build #270
-
Which Deepgram product are you using?Deepgram SDKs Detailswhen running code bellow, the output is sync def main(): asyncio.run(main()) If you are making a request to the Deepgram API, what is the full Deepgram URL you are making a request to?wss://api.deepgram.com/v1/listen If you are making a request to the Deepgram API and have a request ID, please paste it below:No request ID returned If possible, please attach your code or paste it into the text box.No response If possible, please attach an example audio file to reproduce the issue.No response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hey @tanyinyan this almost always means there is something wrong with your Deepgram API key. Did you set it in the code? If so, make sure it's the correct value. It should not have any dashes in it. |
Beta Was this translation helpful? Give feedback.
Here is a link I found about how to disable https proxy in python code: https://stackoverflow.com/a/28521696
However, if you are sending a URL to Deepgram that is
httprather thanhttps, then Deepgram is accessing the URL rather than your own computer. If that's the case, the URL may need to be changed to anhttpsURL. Is this possible for you to do?