chatanywhere / GPT_API_free

Free ChatGPT API Key,免费ChatGPT API,支持GPT4 API(免费),ChatGPT国内可用免费转发API,直连无需代理。可以搭配ChatBox等软件/插件使用,极大降低接口使用成本。国内即可无限制畅快聊天。
MIT License
24.56k stars 1.86k forks source link

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

Open LarryLin666666 opened 1 month ago

LarryLin666666 commented 1 month ago

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 commented 1 month ago

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

LarryLin666666 commented 1 month ago

怪了,我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 GitHubhttps://github.com/chatanywhere/GPT_API_free/issues/302#issuecomment-2396117228, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BHP5ACKU4FQNWGYVZWJJ7HTZ2IY6HAVCNFSM6AAAAABPOVC55KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJWGEYTOMRSHA. You are receiving this because you authored the thread.Message ID: @.***>

ynpl commented 1 month ago

怪了,我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 commented 1 month ago

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

ynpl commented 1 month ago

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

没改api地址