Stack
OpenAI errors
OpenAI errors on this page are the API's own replies. 401 incorrect API key is the string on the request. Check the value the server actually sent, including quotes that became part of the key, before you assume the account is closed. 429 or insufficient quota is the account limit. A loop that retries immediately makes that limit worse. model not found, or a model the project is not allowed to call, is the model name. Changing the key does not create access to a model the project cannot use, and swapping the model does not repair a 401.
A key that shipped to the browser under NEXT_PUBLIC_ or VITE_ is the exposed-key page, not an OpenAI outage. Rename it, rotate it, and call the API from the server. Come back here if that server route still gets 401. Rotating a leaked key that might be Stripe or Supabase rather than OpenAI is its own page on the error index. This hub does not list every rate limit in the library. It lists the OpenAI response you can paste.
On this page
Every other fix is on the error index. Paste the first line of the message there.