Looks like OpenAI have changed the new API key endpoint to require authorization via a session key instead of the API key.
New-OpenAIAPIKey -jsonOut
{
"error": {
"message": "Please use a browser session to manage your API keys at https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": "incorrect_key_type"
}
}
Unlikely to be fixable as it will require interactive authentication via Auth0 to in order get the session key.
Looks like OpenAI have changed the new API key endpoint to require authorization via a session key instead of the API key.
Unlikely to be fixable as it will require interactive authentication via Auth0 to in order get the session key.