最近ChatGpt火爆全网,小雨用这个api的时候,突然发现前一天还用的好好的,第二天发现用不了了,经过几番折腾摸索,总算解决了,解决办法如下:
前提是你没有收到来自noreply@tm.openai.com的api被终止的通知哦 如下:
Hi yourname,
After a thorough investigation, we have determined that you or a member of your organization are using the OpenAI API in ways that violate our policies.
Due to this breach we are halting access to the API immediately for the organization moxiaoyu. Common reasons for breach include violations of our usage policies or accessing the API from an unsupported location. You may also wish to review our Terms of Use.
If you believe this is in error and would like to appeal, please contact us through our help center. We will review appeals within one business day and will contact you if we reinstate access to the API.
Best,
The OpenAI team
在科学上网状态登录https://platform.openai.com/account/api-keys,删除旧的api keys,只保留最新的一个,旧的都删除,然后重新测试,如果发现还是无法使用,再新建一个api keys 并且删除所有旧的即可。
国内免翻网站