Exposing an AI agent using the A2A protocol > Overview > Troubleshooting
  

Troubleshooting

When I try to connect to my AI agent, I get "Agent card not found (404)."
The agent isn’t listed in the AGENTS list in the configuration file. Add the agent to the agents_config.py configuration file and try again.
The backend URL isn’t working.
The AI agent hasn’t been deployed in AI Agent Engineering or its runtime environment isn’t running. Open the AI agent in AI Agent Engineering and verify that it’s been deployed and that the agent’s runtime environment is up and running.
I’m getting a port conflict.
Another process might be running on the adapter port. By default, the adapter uses port 5000.
Edit the configuration file and change the ADAPTER_PORT value.