I was switched to Projects Mode (sk-proj- keys) and can no longer make API calls
Every request to chat/completions returns a 404 error.
OpenAI Support confirmed sk-proj- keys do not work for API calls.
They refused to switch me back to sk- keys
Has anyone successfully used sk-proj- keys for API calls?
Are there workarounds for making API requests with Projects Mode?
Can OpenAI re-enable sk- keys, or are we permanently stuck in Projects Mode
Can OpenAI re-enable sk- keys, or are we permanently stuck in Projects Mode
If you’ve found a solution, please share. This is blocking my system from integrating with OpenAI
sk-proj- API keys are intended to work just like the previous sk- keys, but with more granular permissions tied to each project.
Could you share a snippet of your code? If you’re seeing a 404, it looks like you’re hitting the wrong endpoint. That’ll help us troubleshoot the issue.
I had this same problem and was able to resolve it. In my case the API Key value was being truncated to 100 characters…whereas the actual value is 164 characters in length. Changing my variable to accommodate up to 255 characters resolved the problem.
ChatGPT still thinks that" OpenAI API keys are typically 40 characters in length. They begin with the prefix sk-, followed by a combination of mixed-case alphanumeric characters", but this is not true of project-based API keys…which are longer.
This is why authentication could work with user-based sk-xxxx keys, but not work with sk-proj-xxxx keys.