Replies: 1 comment
-
This was due to an error in my .env file. The API keys should not be in quotes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a .env file with my key that looks much like you would expect:
I then am running a script through a Dockerfile like this:
The
test_keys.py
script looks like this:I run the above with:
When I do this, I can see from the print statement that it reads the key in just fine, but I get this error:
I have tried several times creating new keys, both project keys and user (legacy) keys and still get this error. I know the keys are good though because I have a different project running off of Streamlit and it accepts these keys just fine. They are literally brand new keys.
Any suggestions? TIA!
Beta Was this translation helpful? Give feedback.
All reactions