linweiyuan / go-chatgpt-api

一个尝试绕过 Cloudflare 来使用 ChatGPT 接口的程序
MIT License
1.43k stars 449 forks source link

官方的余额接口是不是又改了,报403或者401了 #229

Closed spldmanager closed 11 months ago

spldmanager commented 11 months ago

GET http://自建反代/platform/dashboard/billing/subscription Authorization: 'Bearer 密钥'

返回结果 { "error": { "code": "invalid_api_key", "message": "Incorrect API key provided: 'Bearer ****'. You can find your API key at https://platform.openai.com/account/api-keys.", "param": null, "type": "invalid_request_error" } }

对话接口可以正常使用

linweiyuan commented 11 months ago

session key 是否可以,用 /platform/login 接口登录获取

api key 用得不多,没什么研究