Thanks a lot @amrani.mahaveer223 for your quick reply. I got it. I did the same…
I am also facing the exact same issue.
Can some one please help?..
why GMAIL. Why not post the answer here itself?
I got exact same error when I try to test on docker.
I am using nodejs and nodejs openai wrapper.
It works fine when I run nodejs server locally.
However, when I created a docker container as a service. It throw 401 error.
I tested with mapping all the code into docker container.
For exact smae code.
- running nodejs server on local machien, it works fine
- running docker container, it throws 401 error
I even tried to change api keys.
I assume there is a problem with nodejs openai wrapper. Because I used to hit the api directly with axios on another project, It works totally fine even on GCP cloud run.
Hi @digyunjeong , the problem can be that you are committing your openai-api key to your container and you may get an warning your open ai api key has been reverted.