Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 余额查询时提示访问密码不正确 #1611

Closed
lurenbeia opened this issue May 18, 2023 · 9 comments
Closed

[Bug] 余额查询时提示访问密码不正确 #1611

lurenbeia opened this issue May 18, 2023 · 9 comments

Comments

@lurenbeia
Copy link

image

如图所示,我没有设置访问密码,直接使用的api key,在我检查余额时却提示了这个,在之前的版本中是没有这个问题的。

@ClarenceDan
Copy link
Contributor

这个BUG是由于查询时候当key不正确时,调用了 locales.error.unauthorized 的文本

@lurenbeia
Copy link
Author

这个BUG是由于查询时当key不正确时,调用了locales.error.unauthorized的文本

没有不正确啊,我的key是在正常使用的

@lurenbeia
Copy link
Author

lurenbeia commented May 18, 2023

另外我发现,打开设置页就会进行提示。
有个不一样的地方在于,环境变量的base_url不是官方的地址,但和这应该没有关系吧

@lurenbeia
Copy link
Author

报错信息如下
image
image

@reece00
Copy link
Contributor

reece00 commented May 18, 2023

楼上的意思是查询出错就显示这个,你自己的地址不支持这个接口就这样

@lurenbeia
Copy link
Author

楼上的意思是查询出错就显示这个,你自己的地址不支持这个接口就这样

明白了,是我闹乌龙了😂,能麻烦告诉下这个接口的地址吗?我在openai上没找到

@reece00
Copy link
Contributor

reece00 commented May 18, 2023

楼上的意思是查询出错就显示这个,你自己的地址不支持这个接口就这样

明白了,是我闹乌龙了😂,能麻烦告诉下这个接口的地址吗?我在openai上没找到

你自己的报错截图里写了啊,程序用的接口就是openai官方地址

@lurenbeia
Copy link
Author

楼上的意思是查询出错就显示这个,你自己的地址不支持这个接口就这样

明白了,是我闹乌龙了😂,能麻烦告诉下这个接口的地址吗?我在openai上没找到

你自己的报错截图里写了啊,程序用的接口就是openai官方地址

表达有误,我是想知道 dashboard/billing/usage 这个是什么接口

@Yidadaa
Copy link
Collaborator

Yidadaa commented May 18, 2023

api2d 不支持余额查询。

@Yidadaa Yidadaa closed this as completed May 18, 2023
Yidadaa added a commit that referenced this issue May 18, 2023
fix: #1611 show corret message when can not query usage
jinker pushed a commit to jinker/ChatGPT-Next-Web that referenced this issue Jun 19, 2023
Jeremy-Hibiki pushed a commit to Jeremy-Hibiki/ChatGPT-Next-Web that referenced this issue Sep 5, 2023
Jeremy-Hibiki pushed a commit to Jeremy-Hibiki/ChatGPT-Next-Web that referenced this issue Sep 5, 2023
fix: ChatGPTNextWeb#1611 show corret message when can not query usage
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this issue May 16, 2024
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this issue May 16, 2024
fix: ChatGPTNextWeb#1611 show corret message when can not query usage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants