ChatGPT doesn't generate code and getting stuck mid response

I have an issue where ChatGPT just freezes around 20l lines of code, then it tries to regenerate but it doesn’t work. causing a weird behaviour. It generated 20 or so lines of code, got stuck, then there empty space and another code prompt with 1 line, then again and again. Then sometimes after trying it 5-10 times it shows “network error”.

I’ve tried different solutions that I found here, like telling to continue and stuff (won’t work cuz prompt never finishes, and stoping it, causes it to regenerate from beginning, and then it get stuck in the same spot). I’ve tried my other account (that doesn’t have premium and same thing, also, 3.5, same thing. iOS and Android apps, same problem.
Anyone else expiriences this? It start happening after todays outage, but OpenAI’s Status website says it’s all fixed.

Thanks!

41 Likes

It is not just you, the service is crapped out again.

Edit: The updates page is now showing this as an issue and being investigated.

5 Likes

I’m relieved to hear it’s not only me. Do you also have an issue with the code block?

Update: Just saw it too, hopefully they fix by morning.

4 Likes

I was having issues with everything, I tested some code generation and it also caused an issue.

2 Likes

Hey i am also having this exact problem, and i had it all day yesterday.

3 Likes

Hey i am also having this exact problem, and i had it all day yesterday.

2 Likes

The status page now lists it as resolved. I had good luck with it for the past hour or so but it is now acting up again.

Edit: For anyone having issues as well, I created a new gpt without any browsing or dalle. In the chat where the errors were occurring I summoned the new gpt by typing the “@” symbol and the name of the newly created gpt, and asked it to continue generating the script that was incomplete. This seems to have fixed it from being stuck however I can’t guarantee anything.

3 Likes

I have been experiencing the same issue since yesterday evening CET, and it has not been resolved yet.

3 Likes

No, the issue still persists. It is stopping after List in java

1 Like


Keeps repeating itself. Or stops after a few lines. Had this for hours now.

2 Likes

Getting the same errors as well

Code generation just gets stuck and sometimes repeat itself.

1 Like

I have this exact issue, my response also stops generating after List

1 Like

Hi! Yeap, same here. It cuts after List or Map (Java), the error basically comes from the management of the < character. One of my colleagues has the same problem after a Promise (JS). Super annoying, please guys help us! Thanks. :slight_smile:

1 Like

Seems like, I’m not only one with this issue. Prompt :
Dont use chars “<>” in your answer and change them for “*” (or anything else)
seems to be temporary workaround for me …

5 Likes

Same here, the code generation is interrupted and after a while it shows “Network error”.

1 Like

Having the same issue with java it seems to generate code fine until it trys to use List


which isn’t great

I have same problem with code. :frowning:

Same. Empty code blocks since yesterday.

4 Likes

Same for me too. Empty code blocks and network errors at the end :smiling_face_with_tear:

1 Like

same problem to. did openai say anything about it ?

3 Likes