"Agent encountered an error while running, we are investigating the issue."

Hi guys,

Hope you’re having a good day.

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?

1 Like

I’ve had it happen a few times. Again, I think we’re having some bugs/growing pains with the new version.

Thanks a lot for the response Eric, I really appreciate it.

If anyone from Replit is reading this and wants to know the specifics of when the bug occurs…

Plan mode still works great.

As soon as I switch to build mode, it runs while the agent is thinking about talking to itself about what action to take.

As soon as it goes to touch a file, I get the:

“Agent encountered an error while running, we are investigating the issue.”

It still charges me $0.50 to $1.50 each time for this failed action.

I figured out what the issue was…

It was nothing to do with Agent 3.

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.

1 Like