CommitAI icon indicating copy to clipboard operation
CommitAI copied to clipboard

Request failed with status code 429

Open Lippiece opened this issue 2 years ago • 3 comments

I've been using OpenAI playground just fine though.

Lippiece avatar Feb 06 '23 08:02 Lippiece

Was there retry attempt? or is it failed on the first try? From the status code 429, it sounds like you might got Too many requests in 1 hour. It could be also that the git diff --staged output might exceed the max token in the prompt. if you don't mind could you send the output of git diff --staged when you got the 429. I could try to reproduce it.

ahmetkca avatar Feb 06 '23 21:02 ahmetkca

diff --git a/src/App.tsx b/src/App.tsx
index b5ff51f..5ed2d17 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,12 +1,16 @@
-
 import "./css/App.css";
 
+import { useState } from "react";
+
 const App = () => {
+  const [ count, setCount ] = useState(0);
   return (
     <div className="App">
       <p>
         Edit <code>src/App.jsx</code> and save to reload.
       </p>
+      <p>{count}</p>
+      <button onClick={() => setCount(count + 1)}>Increment</button>
     </div>
   );
 };

I also think I'm unable to use OpenAI services except ChatGPT because, as I understand, the free trial tokens have expired after 3 months of account use, but I'm not sure.

Here's how my account page looks like

image

Lippiece avatar Feb 07 '23 12:02 Lippiece

For me this also return the same status code 429. I'm running ChatGPT Pro normally without any problems.

killdaclick avatar Sep 06 '23 07:09 killdaclick