iampawan / ChatGPT-Flutter-AIChatBot

A Chatbot chat app built using the Flutter framework and OpenAI's GPT-3 language model.
245 stars 105 forks source link

status code :429 message :The request returned an invalid status code of 429. #19

Closed Keshav-Kishor-143 closed 1 year ago

Keshav-Kishor-143 commented 1 year ago

Hi @iampawan,

Is it necessary to have a paid account to use the openai_client. Because, I am getting an error as mentioned below :-

data:{error: {message: You exceeded your current quota, please check your plan and billing details., type: insufficient_quota, param: null, code: null}}

I tried generating new Api Key twice, but I don't think that is the catch. Am I missing any changes that needs to be done in the code. Or is it anything else? I need a solution to this, Any help here, would be appreciated.. Thankyou.

Jash-Mehta commented 1 year ago

Facing the Same issue. Please provide solution to it

Keshav-Kishor-143 commented 1 year ago

@Jash-Mehta You need to find an account/id with credit granted from the gpt portal. The openai service is not free. It is charge based and you need to check the documents provided on the website again.