openAI Invalid Key

Im trying to add my openAI API key to my secrets but every time I run my code, it’s giving me the below error: invalid key with a completely different API key.

openai.error.AuthenticationError: Incorrect API key provided: sk-sEpEw***************************************xKy8. You can find your API key at OpenAI Platform.
172.31.196.1 - - [11/Aug/2023 20:41:03]

does anyone know how to troubleshoot this?

Replit Profile: https://replit.com/@mike138

Hey there! First, could you move this to code help? Second, Could you send me the link of your code?

3 Likes