MS Excel VBA 错误 + JSON API 密钥无效

问题描述 投票:0回答:0

VBA 错误

Set json = JsonConverter.ParseJson(http.responseText)
response = json("choices")(1)("text")

当前窗口:

    "error": {
        "message": "Incorrect API key provided: place yo**********here. You can find your API key at https://platform.openai.com/account/api-keys.",
        "type": "invalid_request_error",
        "param": null,
        "code": "invalid_api_key"
    }

我尝试重新导入 json 模块,但得到了同样的错误

json vba libraries
© www.soinside.com 2019 - 2024. All rights reserved.