x-dr / chatgptProxyAPI

🔥 使用cloudflare 搭建免费的 OpenAI api代理 ,解决网络无法访问问题。支持流式输出
https://chatai.451024.xyz
MIT License
2.95k stars 678 forks source link

查询余额api报错 #51

Closed toyo2333 closed 1 year ago

toyo2333 commented 1 year ago

选择的是那个CF wokers部署,查询余额的curl执行后提示这个

{
  "error": {
    "message": "Your request to GET /dashboard/billing/credit_grants must be made with a session key (that is, it can only be made from the browser). You made it with the following key type: secret.",
    "type": "server_error",
    "param": null,
    "code": null
  }
}

请问这个该如何解决?

技术小白完全不懂复杂的技术,盼望解答。谢谢

x-dr commented 1 year ago

自己看message翻译