a sinopse nao esta sendo traduzi e quando eu peco para "listar series buscadas" ai que da o erro e sinceramente eu nao sei como corrigir isso, o erro e referente ao limite, diz que eu ja execedi o limite, entretanto eu nunca usei minha api key e alem disso eu usei a conta da minha namorada que usa o chat casualmente sem nenhum vinculo com a programacao ou uso da api e deu o mesmo erro, eu nao sei o que pode ser e imagino que talvez nem tenha solucao ja que o codigo esta igualzinho o da aula.
2023-11-28T10:34:14.644-03:00 INFO 14056 --- [ main] .s.b.a.l.ConditionEvaluationReportLogger :
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2023-11-28T10:34:14.670-03:00 ERROR 14056 --- [ main] o.s.boot.SpringApplication : Application run failed
java.lang.IllegalStateException: Failed to execute CommandLineRunner
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:774) ~[spring-boot-3.1.1.jar:3.1.1]
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:755) ~[spring-boot-3.1.1.jar:3.1.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:319) ~[spring-boot-3.1.1.jar:3.1.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) ~[spring-boot-3.1.1.jar:3.1.1]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295) ~[spring-boot-3.1.1.jar:3.1.1]
at br.com.alura.screenmatch.ScreenmatchApplication.main(ScreenmatchApplication.java:12) ~[classes/:na]
Caused by: com.theokanning.openai.OpenAiHttpException: You exceeded your current quota, please check your plan and billing details.
at com.theokanning.openai.service.OpenAiService.execute(OpenAiService.java:326) ~[service-0.14.0.jar:na]
at com.theokanning.openai.service.OpenAiService.createCompletion(OpenAiService.java:121) ~[service-0.14.0.jar:na]
at br.com.alura.screenmatch.service.ConsultaChatGPT.obterTraducao(ConsultaChatGPT.java:17) ~[classes/:na]
at br.com.alura.screenmatch.model.Serie.<init>(Serie.java:23) ~[classes/:na]
at br.com.alura.screenmatch.principal.Principal.lambda$listarSeriesBuscadas$0(Principal.java:61) ~[classes/:na]
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[na:na]
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[na:na]
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[na:na]
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[na:na]
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[na:na]
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:na]
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[na:na]
at br.com.alura.screenmatch.principal.Principal.listarSeriesBuscadas(Principal.java:62) ~[classes/:na]
at br.com.alura.screenmatch.principal.Principal.exibeMenu(Principal.java:47) ~[classes/:na]
at br.com.alura.screenmatch.ScreenmatchApplication.run(ScreenmatchApplication.java:18) ~[classes/:na]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) ~[spring-boot-3.1.1.jar:3.1.1]
... 5 common frames omitted
Caused by: retrofit2.adapter.rxjava2.HttpException: HTTP 429
at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:57) ~[adapter-rxjava2-2.9.0.jar:na]
at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:38) ~[adapter-rxjava2-2.9.0.jar:na]
at retrofit2.adapter.rxjava2.CallExecuteObservable.subscribeActual(CallExecuteObservable.java:48) ~[adapter-rxjava2-2.9.0.jar:na]
at io.reactivex.Observable.subscribe(Observable.java:10151) ~[rxjava-2.0.0.jar:2.0.0]
at retrofit2.adapter.rxjava2.BodyObservable.subscribeActual(BodyObservable.java:35) ~[adapter-rxjava2-2.9.0.jar:na]
at io.reactivex.Observable.subscribe(Observable.java:10151) ~[rxjava-2.0.0.jar:2.0.0]
at io.reactivex.internal.operators.observable.ObservableSingleSingle.subscribeActual(ObservableSingleSingle.java:35) ~[rxjava-2.0.0.jar:2.0.0]
at io.reactivex.Single.subscribe(Single.java:2517) ~[rxjava-2.0.0.jar:2.0.0]
at io.reactivex.Single.blockingGet(Single.java:2001) ~[rxjava-2.0.0.jar:2.0.0]
at com.theokanning.openai.service.OpenAiService.execute(OpenAiService.java:317) ~[service-0.14.0.jar:na]
... 20 common frames omitted