semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

Unable to generate bot response. Details: Error: 400: => Throttling: Too many requests, HTTP status: 429

Open cooptest opened this issue 2 years ago • 4 comments

I get no response no matter what message I send

1

cooptest avatar May 12 '23 09:05 cooptest

Which API key are you using? You need a valid API key from either OpenAI or Azure OpenAI Service so as to fix that 429 error.

Specific to OpenAI, you should move to the pay-as-you-go plan when you free credit expired.

lextm avatar May 13 '23 05:05 lextm

@lextm I am using gpt plus

cooptest avatar May 15 '23 02:05 cooptest

@cooptest You will have to tell more about it. Are you on a pay-as-you-go plan, or not? Please log into https://platform.openai.com/account/billing/overview and take a look.

lextm avatar May 15 '23 05:05 lextm

Thank you very much for your answer, because my api has expired, it will be fine to re-open the paid plan.

Another question, have you successfully deployed on the Internet? I want to deploy on the Internet, but I don't know how to set up the jump (http://localhost:3000) in Azure.

cooptest avatar May 15 '23 06:05 cooptest

Same for me, got always: warn: Microsoft.SemanticKernel.IKernel[0] Error executing action [attempt 1 of 1]. Reason: TooManyRequests. Will retry after 2000ms

To solve the issue I hade to add my credit card in the: https://platform.openai.com/account/billing/payment-methods After that is done it took some time before it work. I think about 10-15 minutes. The API payment is not included in the Premium, so if you pay for Premium, you must still pay for you API usage, separate, by adding a payment card. After adding the card, remember to adjust your usage limits, so you have control: https://platform.openai.com/account/billing/limits

snerting avatar May 30 '23 15:05 snerting

Same for me, got always: warn: Microsoft.SemanticKernel.IKernel[0] Error executing action [attempt 1 of 1]. Reason: TooManyRequests. Will retry after 2000ms

To solve the issue I hade to add my credit card in the: https://platform.openai.com/account/billing/payment-methods After that is done it took some time before it work. I think about 10-15 minutes. The API payment is not included in the Premium, so if you pay for Premium, you must still pay for you API usage, separate, by adding a payment card. After adding the card, remember to adjust your usage limits, so you have control: https://platform.openai.com/account/billing/limits

Closing as a OpenAI Throttling issue -to remedy, adjust your usage limits as @snerting described above.

teresaqhoang avatar Jun 02 '23 19:06 teresaqhoang

Tutorials should inform that you need to enter a payment method for your API key to work.

comichael avatar Jun 25 '23 18:06 comichael

@comichael Opened new issue to add this detail into our samples here: https://github.com/microsoft/semantic-kernel/issues/1755

teresaqhoang avatar Jun 28 '23 17:06 teresaqhoang