Skip to content

Troubleshooting

SymptomSolution
pnpm install failsVerify Node.js 22+ (node --version) and pnpm 9+ (pnpm --version)
Database connection errorCheck PostgreSQL is running and DATABASE_URL in .env is correct
pgvector extension missingRun psql mify -c "CREATE EXTENSION IF NOT EXISTS vector;"
Prisma migration failsRun pnpm --filter @mify/api prisma:migrate deploy to apply pending migrations. If the database is a fresh dev instance, run pnpm --filter @mify/api prisma:migrate dev to regenerate.
PortServiceCheck Command
3006Web UIlsof -i :3006 (Mac/Linux) or netstat -ano | findstr :3006 (Windows)
3010API Serverlsof -i :3010 or netstat -ano | findstr :3010
5432PostgreSQLCheck PostgreSQL service is running

Verify both services are running:

Terminal window
# API health
curl http://localhost:3010/health
# Expected: { "status": "ok" }
# Web UI
# Open http://localhost:3006 — should load the MIFY interface
SymptomCauseSolution
”No trigger” errorMissing trigger nodeAdd a Manual Trigger, Webhook, or Schedule trigger
”Cycle detected” errorWorkflow has a loopRemove the edge that creates the cycle (MIFY requires DAGs)
“Provider not configured”Missing API keyAdd your provider key in Settings → Credentials
Execution hangsNode waiting for inputCheck if a Pause/HITL node needs approval
ErrorProviderSolution
401 UnauthorizedOpenAI, AnthropicCheck API key in Settings → Credentials
429 Rate LimitedAnyWait and retry. Check quota in Settings → Usage
Connection refusedOllamaVerify Ollama is running (ollama serve)
Model not foundOllamaPull the model first: ollama pull phi3:mini
TimeoutAnyIncrease timeout in node settings or check network

View execution details at /runs:

  • Click any run to see the full trace
  • Each node shows input received, output produced, and execution time
  • Failed nodes show the error message and stack trace
  • Use Compare to diff two runs side-by-side
SymptomSolution
”Invalid JSON”Verify you copied the complete workflow export
Nodes show as “Opaque”These nodes don’t have MIFY equivalents — they delegate to the original platform
Missing credentialsImported workflows don’t include secrets — re-add API keys in MIFY
CauseSolution
Large batch processingReduce concurrency in batch settings
N+1 database queriesCheck SQL query budget in observability settings
Cold start on AI providersFirst call to a provider may be slow; subsequent calls are faster
CauseSolution
Large document ingestionProcess documents in smaller batches
Many concurrent executionsReduce parallel execution limit
SymptomSolution
”Command not found”Install the agent CLI (claude or codex) and verify it’s in PATH
”Git not configured”Run git config --global user.name and user.email
”Port 3020 in use”Another home runtime instance is running. Stop it first.
”RunAlreadyActiveError”Cancel the existing run before starting a new one
SymptomSolution
Agent waiting for inputSend input via the terminal UI
Trust prompt appearsAccept the workspace trust prompt in the agent
Idle timeoutAgent timed out (30 min default). Restart the run.
  1. Check the execution trace at /runs/:id for detailed error info
  2. Export a Support Bundle from a failed run (gear icon → Export Bundle)
  3. Review the logs: API server logs show detailed error messages