79433266

Date: 2025-02-12 13:43:30
Score: 3
Natty:
Report link

The issue was that double quotes were used to specify OPEANAI_API_KEY in the .env file. If the key is written in double quotes, e.g.

OPENAI_API_KEY="sk-proj-...................."

it works in the desktop app, but it results in an INVALID_API_KEY error in a docker image.

I removed the double quotes from the .env file and specified the key as follows:

OPENAI_API_KEY=sk-proj-....................

Now it works both in desktop application as well as in docker image.

Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Self-answer (0.5):
  • Filler text (0.5): ....................
  • Filler text (0): ....................
  • Low reputation (1):
Posted by: Preeti v