[Chanzhaoyu/chatgpt-web]为什么api一直连接失败,

2024-05-20 619 views
9

我用的api-key,然后我网络应该没问题,访问网页版一直正常的,但是用这个项目一直失败

1709775399625

回答

6

直接post访问接口也没问题

6

我也是,怎么处理的呀?跟我开着vpn有关吗?

7

why { "error": { "message": "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://platform.openai.com/account/api-keys.", "type": "invalid_request_error", "param": null, "code": null } }

1

我用的api-key,然后我网络应该没问题,访问网页版一直正常的,但是用这个项目一直失败 1709775399625

你好,请问解决了吗

4

同求