Skip to content
AgentField

Troubleshooting

Common errors, debugging patterns, and solutions for AgentField.

Quick diagnosis — common errors and fixes

Diagnose and fix common issues when building with AgentField.

Common Errors

ErrorCauseFix
ConnectionRefusedErrorControl plane is not runningStart with af server or check host/port
401 UnauthorizedMissing or invalid API keySet AGENTFIELD_API_KEY or pass api_key= to Agent
404 Agent not foundAgent is not registeredEnsure agent is running with app.serve()
429 Too Many RequestsLLM provider rate limitAdd retry logic or configure fallback models
TimeoutErrorExecution exceeded deadlineIncrease timeout or switch to async execution