ChatGPT shows “There was an error generating a response” when it could not produce an answer to your message. OpenAI’s help page on ChatGPT error messages calls it a failed response that may be a one-time error, so the first step is to click Regenerate. If the message comes back, the page moves on to your browser, your VPN and your network. This guide lists those steps in OpenAI’s order and explains the neighbouring messages that look alike. Everything below is read from OpenAI’s help center on December 3, 2026.

On this page

What the message means

OpenAI describes it in one line: a failed response when ChatGPT is unable to produce an answer. The page gives no single cause. It sits among a group of errors that OpenAI ties to “network configuration, browser extensions, or transient server-side problems”, so the fix is a process of elimination, not one setting.

The steps OpenAI lists, in order

The Troubleshooting ChatGPT error messages page gives this sequence for “There was an error generating a response”:

Step What to do Why it is first or last
1 Click the Regenerate button OpenAI says it may be a one-time error
2 Restart your browser or device Clears a stuck session
3 Disable VPNs or proxy connections These can interfere with the connection to ChatGPT
4 Turn off Web Protect or other security filters Same reason: something between you and ChatGPT
5 Try a different browser or incognito mode Rules out extensions and cached data
6 Switch to a different network or device Rules out your connection

The “why” column is our reading of how the steps group, not text from OpenAI. The order is OpenAI’s. Change one thing at a time, so you know which step fixed it.

If it only happens in one chat

The error help page does not say that a single long chat can cause this message, so we will not claim it. It does say, for a chat that hangs, to start a new chat and resend your prompt. That is a cheap test: paste the same prompt into a fresh chat. If it works there, the first chat is the problem, not your network. A long chat that has hit its length limit shows a different message, covered in our guide to the ChatGPT context window being full.

Messages that look similar

OpenAI’s page lists several errors with nearly the same fixes. Telling them apart saves time:

  • “An error occurred while connecting to the websocket.” OpenAI says this suggests your device cannot establish a reliable connection to its servers. The steps are the same family: disable VPNs or proxies, turn off Web Protect, try another browser or incognito, switch network or device.
  • “Something went wrong.” A general error that OpenAI says may be a temporary server issue or a problem with your local setup. It adds two steps the generating-a-response entry does not have: check status.openai.com for known outages, and clear your browser cache and cookies. See ChatGPT “something went wrong”.
  • “There was a problem preparing your chat.” Usually a browser extension or URL blocker getting in the way. See problem preparing your chat.
  • “Unusual activity detected.” A different message about traffic that looks automated. See unusual activity detected.
  • A reply that never finishes. OpenAI’s advice is to wait 30 to 60 seconds, click Stop generating, then Regenerate, then try a new chat. See ChatGPT not responding.

For the stream error, which has its own page, see error in message stream. The hub for all of them is our ChatGPT error guide.

Check whether it is OpenAI’s side

If the error appears for every prompt and on every device, look at status.openai.com before changing settings. OpenAI’s page tells you to check it for the “something went wrong” and slow-response cases. If there is an open incident, waiting is the fix.

When to contact support

OpenAI’s page says that if a problem persists across browsers, devices and networks, you should collect a HAR file and browser console errors with timestamps, note the model you used and the conversation URL or ID, and contact support. For the mobile app, OpenAI’s separate troubleshooting page asks you to include the full error message and any request ID, your device model, operating system and app version, the date and time, and whether it happens on Wi-Fi, mobile data or both.