在使用 OAipro 内置的 LobeChat 时,
API 代理地址填了 https://api.oaifree.com,api key 也填了令牌,出现如下报错:
{
“error”: {
“status”: 401,
“headers”: {
“connection”: “keep-alive”,
“content-length”: “91”,
“content-type”: “application/json; charset=utf-8”,
“date”: “Sun, 23 Jun 2024 15:30:29 GMT”,
“expect-ct”: “max-age=86400, enforce”,
“referrer-policy”: “same-origin”,
“strict-transport-security”: “max-age=15552000; includeSubDomains; preload”,
“x-content-type-options”: “nosniff”,
“x-frame-options”: “SAMEORIGIN”,
“x-server”: “oaifree/0.0.2”,
“x-xss-protection”: “1; mode=block”
},
“error”: {
“message”: “invalid access token”,
“type”: “unauthorized”,
“param”: null,
“code”: null
},
“code”: null,
“param”: null,
“type”: “unauthorized”
},
“endpoint”: “https://api.oa****ee.com/”,
“provider”: “openai”
}