dylCA$H
dylCA$H12h ago

Could not compile your agent, please try again later

anyone know why im getting this? been like this for over 2 hours.
No description
1 Reply
Tico | Voiceflow Assistant
When you click the Run button Voiceflow sends the whole diagram to our backend compiler so the agent can be tested or published.
If the compiler can’t finish you’ll see the “Could not compile your agent, please try again later” banner. Here are the most common things that stop a compile and how to unblock it: 1. 🔍 Check every Function / Code step • Make sure each file contains exactly one export default async function main (args) { ... } and nothing else is exported. • No import/require statements – external modules aren’t supported. • No console.log() or other Node-only statements. • Return only primitive values in outputVars (string | number | boolean). 2. 🔄 Undo recent changes If it was working earlier, duplicate the project and delete the last changes (especially new code steps or integrations) until it compiles, then fix the broken block. 3. 🟢 Status page Very occasionally the compile service is busy. You can check https://status.voiceflow.com to see if there’s an incident. 2 hours of continuous errors is unusual—if the status page is green the issue is almost always inside the project. 4. 💾 Hard refresh & retry Save, reload the editor, and press Run again. Browser caching glitches can surface as compile errors. 5. ➕ Validate the diagram structure Ensure the flow has a Start step and no orphaned blocks that create infinite loops. If you go through the list above and the project still won’t compile, the fastest next step is to make a fresh copy of the project, remove blocks section-by-section, and run after each removal—when the compile suddenly works you’ve isolated the problematic block. (Reference: Voiceflow docs – “Run button compiles the diagram” https://docs.voiceflow.com) Hope that helps you get unblocked! Let me know if you spot which step is causing the error.

Did you find this page helpful?