Need help with code in blog post #98
-
I am following along with the code in this blog post:
Running on a Mac with the Monterey OS and Python 3.9.5. I named the code file stream0.py I did not change any of the organization in the code sample but added my own Deepgram token string. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
Hi @jsolderitsch did you run the program by itself or as part of a larger program? It looks like there is a typo on line 51. The trailing Can you provide more context around how you are running the code? |
Beta Was this translation helpful? Give feedback.
-
And you are running a newer Python! |
Beta Was this translation helpful? Give feedback.
-
I am using the API "secret" as the key -- is that the right thing to use?
Jim
On Mar 15, 2023, at 4:31 PM, Brian Barrow ***@***.******@***.***>> wrote:
401 is just an anauthorized error. Do you still have the correct API key in your code?
—
|
Beta Was this translation helpful? Give feedback.
And you are running a newer Python!