I am stuck in an endless loop of. “Agent encountered an error while running, we are investigating the issue.”
Everytime I give it a new prompt now it thinks for a minute. Then throws another “Agent encountered an error while running, we are investigating the issue.” and charges me $0.50 to $1.50 for doing absolutely nothing.
Is this an issue with Replit systems right now or an issue specific to my account or project?
The Agent was trying to create a brand new file and import a list of 250+ countries. I think the list was too long and the Agent was just struggling with the quantity of data.
When I prompted the agent, asking if the quantity of data was leading to the errors, it split the import up into smaller batches and things started working correctly.
My App is still having the same issue and I am unable to get out of the loop.
Support team responded with a few more solutions
*Clear your browser cache and cookies:
Chrome/Edge: Ctrl+Shift+Delete (Windows) or Cmd+Shift+Delete (Mac)
Select “Cached images and files” and “Cookies”
Clear the data and refresh the page
If that doesn’t work, try accessing your project in a different browser or incognito/private window.
If the error continues, I’ll escalate this to our technical team for further investigation since this appears to be a platform-level issue with the Agent.
* Unfortunately none of them were able to fix the issue. This was the last response I got on Thursday Dec 4th:
*I’m connecting you with a teammate who can investigate this Agent error at a deeper technical level. We’re experiencing high demand so the teammate might take some time to get back to you. I’ve provided them with all the troubleshooting steps we’ve tried and your project details to help them investigate quickly.
*
Hoping this gets resolved soon, as I am hesitent to push any updates to production, and this is a live app.
Will keep the post updated when we get a resolution
We’d moved the app over from another account, then downgraded the original creator from Member to Viewer. That combo only broke the apps we’d transferred into the team account and caused the weird redirect loop.
As soon as we switched that user back to Member, everything started working again.
Super simple in hindsight, but the error message was so generic it could’ve meant anything.
Posting this in case someone else hits the same edge case.