Convex CommunityCCConvex Community
Powered by
Leonardo PedroL
Convex Community•9mo ago•
2 replies
Leonardo Pedro

Urgent Issue: Convex Code Not Saving After x Prompts – Progress Lost on Reload

I’m running into a recurring issue that’s making it impossible to continue coding today using Convex in the Chat interface.

Here’s what’s happening:

When I start coding, everything works fine for the first few prompts. Code is generated and updated as expected.

After about the fourth prompt, the interface stops working properly. I get the error message:

"The model hit an error. Try sending your message again."

If I try sending the same message again, nothing happens—no response, no updates.

At that point, I have to reload the page. But when I do, all my recent work is lost.

It always reverts back to the same older prompt as if none of my progress was ever saved after the error occurred.

Even using the rewind feature doesn’t help—it just takes me back to that same stuck point. I’m unable to recover any work done beyond it.

This happened yesterday too, and I ended up losing an entire day of work. It seems like the chat environment is not saving anything after the error occurs, and I have no way to retrieve my changes.

I even asked the AI about it, and it said:

"I understand your frustration with losing work due to this error. This appears to be a limitation with the Chef environment rather than an issue with your Convex code specifically."

In short:

I can’t get past four prompts without the chat breaking.

When it does, nothing saves afterward.

Reloading or rewinding always brings me back to the same stuck point.

I lose all progress and have no way to recover it.

This is blocking me from making any progress. I’d really appreciate your help in identifying what’s going wrong and how I can avoid losing work in the future.
Convex Community banner
Convex CommunityJoin
Join the Convex Discord! Explore Convex, the backend platform that keeps your app in sync.
15,138Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
james

Hi @everyone with everything going on today I forgot to post on discord about our EU launch! We have a region in Dublin now! You can start using it immediately, even for folks on the free plan. https://news.convex.dev/we-finally-got-our-eu-visa/ Stay tuned for more regions but also stay tuned for more infra improvements where we improve latency for teams no matter where their servers are located. Just at the tip of the iceberg re all the optimizations we have lined up.

james · 4d ago

Wayne

Hi @everyone happy Monday. Components Authoring [Challenge](https://www.convex.dev/components/challenge) updates! Meet the second batch of community-approved components **Firecrawl Scrape **- Scrape any URL and get clean markdown, HTML, screenshots, or structured JSON - with durable caching and reactive queries. https://www.convex.dev/components/firecrawl-scrape Built by: Gitmaxd **Durable Agents **- A Convex component for building durable AI agents with an async tool loop. https://www.convex.dev/components/durable-agents Built by: Siegfried **Convex Debouncer** - A server-side debouncing component for debouncing expensive operations like LLM calls, metrics computation, or any heavy processing that should only run after a period of inactivity. https://www.convex.dev/components/debouncer Built by: Ilya **DatabaseChat **- A Convex component for adding natural language database queries to your app. https://www.convex.dev/components/database-chat Built by: Nick **Transloadit** - A Convex component for creating Transloadit Assemblies, handling resumable uploads with status, and persisting status/results in Convex. https://www.convex.dev/components/transloadit Built by: Kvz **Loops** - A Convex component for integrating with Loops.so email marketing platform. https://www.convex.dev/components/loops Built by: Bobby The [challenge](https://www.convex.dev/components/challenge) is now ongoing, so keep building, and we'll keep rewarding. Thanks, everyone!

Wayne · 3w ago

Liz C

Hi everyone! Have you ever wanted to get your hands on some convex swag? Well you're in luck! We just launched our Convex swag store. Check it out here ---> https://store.convex.dev/

Liz C · 3w ago

Similar Threads

Issue with Convex Code Not Saving and Model Error Handling
Leonardo PedroLLeonardo Pedro / support-community
9mo ago
convex x hono
HmzaHHmza / support-community
2y ago
Lost access to convex development environment after account transfer
mackinleysmithMmackinleysmith / support-community
6mo ago
Support skipping all prompts for convex cli import
erquhartEerquhart / support-community
2y ago