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

Error code: 401 - {'error': {'message': 'Incorrect API key provided: #302

Open
LarryLin666666 opened this issue Oct 6, 2024 · 5 comments

Comments

@LarryLin666666
Copy link

Error code: 401 - {'error': {'message': 'Incorrect API key provided

Have set the right openai_base_url and openai_api_key but still has 401 error

@ynpl
Copy link

ynpl commented Oct 7, 2024

你这个报错就是没修改该baseurl. 这个报错还是openai官方的报错

@LarryLin666666
Copy link
Author

LarryLin666666 commented Oct 7, 2024 via email

@ynpl
Copy link

ynpl commented Oct 7, 2024

怪了,我baseurl用的是chatanywhere的url呀(?目前免费的api你们是还能用是嘛? Sent from Outlook for iOShttps://aka.ms/o0ukef

________________________________ From: ynpl @.> Sent: Monday, October 7, 2024 8:21:07 AM To: chatanywhere/GPT_API_free @.> Cc: LarryLin666666 @.>; Author @.> Subject: Re: [chatanywhere/GPT_API_free] Error code: 401 - {'error': {'message': 'Incorrect API key provided: (Issue #302) 你这个报错就是没修改该baseurl. 这个报错还是openai官方的报错 ― Reply to this email directly, view it on GitHub<#302 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BHP5ACKU4FQNWGYVZWJJ7HTZ2IY6HAVCNFSM6AAAAABPOVC55KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJWGEYTOMRSHA. You are receiving this because you authored the thread.Message ID: @.***>

肯定可以用啊. 你这报错就是官方的报错.chatanywhere的key错了的报错不是这个提示!

@lemon1-ui
Copy link

openai.error.AuthenticationError: Incorrect API key provided: sk-ge3nD***************************************up8Q. 请问这个该如何解决啊

@ynpl
Copy link

ynpl commented Oct 17, 2024

openai.error.AuthenticationError: Incorrect API key provided: sk-ge3nD***************************************up8Q. 请问这个该如何解决啊

没改api地址

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

3 participants