-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect API key provided #201
Comments
OpenAI recently rolled out per project API keys with the following format: sk-proj-abcdefghijklmnopqrstuvwxyz1234567890abcdef Although this article doesn't seem to mention this specific format change you can read about it here: You might be able to create a your own Project API key to verify here: This library likely does a format check to confirm that the key is the expected classic key format so that the user didn't accidentally type or paste the wrong text somehow. sk-abcdefghijklmnopqrstuvwxyz1234567890abcdef |
I know that, even with new key (project key) it does not work. That's why I'm asking here about that) |
Hey bro can u provide me open ai api key for testing out a project u can deactivate after 1 hour plzz my credits are already expired help me out |
Hello guys, I have faced with issue that's my API key incorrect. I've tried to create a new one but still have the same problem. Previously everything was ok. I have money on my OpenAI acc so it's not related to an empty balance or something like that.
Any idea why I have it ?
APIErrorResponse(error: OpenAI.APIError(message: "Incorrect API key provided: "sk-proj**********************************************". You can find your API key at https://platform.openai.com/account/api-keys.", type: "invalid_request_error", param: nil, code: Optional("invalid_api_key")))
OpenAI 0.2.6 version (SPM package)
The text was updated successfully, but these errors were encountered: