Skip to content

New-OpenAIAPIKey - Now requires authorization using session key instead of the API Key. #6

@mc1903

Description

@mc1903

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions