.rosij
02/26/2025, 10:03 PMAI Evy
02/26/2025, 10:03 PMAI Evy
02/26/2025, 10:03 PMAPIConnectionError instances. When the library cannot connect to the API (due to network problems or timeouts), a subclass of retell.APIConnectionError is raised. [(1)]()
The error message you're seeing appears to be from Axios, which is a JavaScript HTTP client, not from the Python SDK. This suggests you might be using a JavaScript/TypeScript implementation or encountering this in a web context.
From one of the Discord messages, we can see an example of an Axios error in the context of a tool booking appointment issue:
Failed to update agent: Error calling Cal Event Type API: Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 400...
[(2)]()
A "Network error" specifically usually indicates that the request couldn't reach the server or establish a connection, which could be due to:
1. Internet connectivity issues
2. Server unavailability
3. Firewall or network configuration problems
4. CORS issues (in browser contexts)
I don't have specific documentation on how to resolve this particular error in Retell AI, but the general approach would be to check your network connection and ensure the Retell API endpoints are accessible from your environment.AI Evy
02/26/2025, 10:03 PM