当出现如下异常时,说明您的账户已经被停用,此时只能换一个账户
严重: answer failed 5 times, the error message is: This key is associated with a deactivated account. If you feel this is an error, contact us through our help center at help.openai.com.
com.theokanning.openai.OpenAiHttpException: This key is associated with a deactivated account. If you feel this is an error, contact us through our help center at help.openai.com.
at com.theokanning.openai.service.OpenAiService.execute(OpenAiService.java:226)
at com.theokanning.openai.service.OpenAiService.createChatCompletion(OpenAiService.java:92)
at io.github.asleepyfish.util.OpenAiUtils.createChatCompletion(OpenAiUtils.java:99)
at io.github.asleepyfish.util.OpenAiUtils.createChatCompletion(OpenAiUtils.java:72)
at io.github.asleepyfish.util.OpenAiUtils.createChatCompletion(OpenAiUtils.java:68)
at io.github.asleepyfish.util.OpenAiUtils.createChatCompletion(OpenAiUtils.java:64)
at TestGPT.main(TestGPT.java:17)
Caused by: retrofit2.adapter.rxjava2.HttpException: HTTP 401 Unauthorized
at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:57)
at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:38)
at retrofit2.adapter.rxjava2.CallExecuteObservable.subscribeActual(CallExecuteObservable.java:48)
at io.reactivex.Observable.subscribe(Observable.java:12284)
at retrofit2.adapter.rxjava2.BodyObservable.subscribeActual(BodyObservable.java:35)
at io.reactivex.Observable.subscribe(Observable.java:12284)
at io.reactivex.internal.operators.observable.ObservableSingleSingle.subscribeActual(ObservableSingleSingle.java:35)
at io.reactivex.Single.subscribe(Single.java:3666)
at io.reactivex.Single.blockingGet(Single.java:2869)
at com.theokanning.openai.service.OpenAiService.execute(OpenAiService.java:217)
... 6 more