SAMUEL PETER
12/16/2025, 5:26 PMAI Evy
12/16/2025, 5:26 PMAI Evy
12/16/2025, 5:26 PMagent_id, from_number, and to_number. [(1) ]()
2. Check phone number configuration - A common cause of errors is an improperly configured phone number. Make sure your from_number is properly set up in your Retell AI account for outbound calls.
3. Verify authorization - Ensure your API key is correctly included in the headers with the format Bearer YOUR_API_KEY. [(2) ]()
4. Check agent configuration - Confirm your agent ID is valid and the agent is properly configured for outbound usage. [(1) ]()
Since the available sources don't cover 500 errors specifically with Pabbly integrations, I'd recommend:
- Checking the Retell AI dashboard logs for more detailed error information
- Verifying all required parameters are being passed correctly from Pabbly
Check out these potentially useful sources:
- [Create Phone Call API]()
- [404 Error on Create a Phone Call]()
- [Retell AI GitHub]()
Would you like me to provide a general answer about troubleshooting 500 errors with API integrations?AI Evy
12/16/2025, 5:27 PMAI Evy
12/16/2025, 5:27 PMSAMUEL PETER
12/16/2025, 5:28 PMSAMUEL PETER
12/16/2025, 5:29 PMAI Evy
12/16/2025, 5:29 PMAI Evy
12/16/2025, 5:29 PMfrom_number must be a phone number you've purchased through Retell or imported from a provider like Twilio/Telnyx. [(1) ]()
2. Missing or incorrect agent binding - The phone number should have an outbound_agent_id configured, or you need to use the override_agent_id parameter in your request.
3. Incorrect parameter names - Use override_agent_id instead of agent_id, and retell_llm_dynamic_variables instead of custom_data.
### Steps to Resolve
1. Verify your phone number exists in Retell:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponses = await client.phoneNumber.list() ;
console.log(phoneNumberResponses) ;
[(2) ]()
2. Ensure correct payload structure for outbound calls:
javascript
const phoneCallResponse = await client.call.createPhoneCall({
from_number: '+14157774444',
to_number: '+12137774445',
}) ;
console.log(phoneCallResponse.agent_id) ;
[(3) ]()
3. If using dynamic variables, structure them correctly:
json
{
"from_number": "+16504144521",
"to_number": "your_target_number",
"override_agent_id": "agent_71724df7636716ceb3a7e244c8",
"retell_llm_dynamic_variables": {
"name": "Sarah"
}
}AI Evy
12/16/2025, 5:29 PMBearer YOUR_API_KEY [(4) ]()
- Ensure all phone numbers are in E.164 format (e.g., +14157774444) [(5) ]()
- Verify the API endpoint URL is correct for creating phone calls
If the issue persists, check your Retell dashboard for more detailed error logs.AI Evy
12/16/2025, 5:29 PMAI Evy
12/16/2025, 5:29 PMSAMUEL PETER
12/16/2025, 5:34 PMAI Evy
12/16/2025, 5:34 PMAI Evy
12/16/2025, 5:34 PMfrom_number, to_number, and override_agent_id (not agent_id) . [(1) ]()
2. Phone number setup - Your from_number must be a phone number purchased or imported through Retell AI, not an arbitrary number.
3. Authorization header - Ensure it's formatted as Bearer YOUR_API_KEY. [(2) ]()
4. Function parameters format - If you're using custom functions, the parameters must follow the correct JSON schema format. [(3) ]()
When you share the screenshot, include:
- Your Pabbly HTTP request configuration (URL, headers, body)
- The full error response if availableAI Evy
12/16/2025, 5:35 PMAI Evy
12/16/2025, 5:35 PMSAMUEL PETER
12/16/2025, 5:37 PMAI Evy
12/16/2025, 5:37 PMAI Evy
12/16/2025, 5:37 PMfrom_number must be a phone number purchased or imported through Retell AI, not an arbitrary number. [(1) ]()
2. Check payload structure - Use the correct parameter names:
- from_number and to_number for the phone numbers
- override_agent_id instead of agent_id
- retell_llm_dynamic_variables instead of custom_data
3. Authorization header - Ensure it's formatted as Bearer YOUR_API_KEY [(2) ]()
Please re-upload the screenshot so I can help identify the specific issue with your Pabbly configuration.AI Evy
12/16/2025, 5:37 PMAI Evy
12/16/2025, 5:37 PMSAMUEL PETER
12/16/2025, 5:38 PMAI Evy
12/16/2025, 5:38 PMAI Evy
12/16/2025, 5:38 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneCallResponse = await client.call.createPhoneCall({
from_number: '+14157774444',
to_number: '+12137774445',
}) ;
console.log(phoneCallResponse.agent_id) ;
2. Check parameter names:
- Use override_agent_id instead of agent_id [(2) ]()
- Use retell_llm_dynamic_variables instead of custom_data
3. Verify phone number configuration:
- Your from_number must be a phone number purchased from Retell or imported to Retell [(1) ]()
- Phone numbers must be in E.164 format (e.g., +14157774444) [(3) ]()
4. Authorization header:
- Format must be Bearer YOUR_API_KEY [(1) ]()
5. Check if phone number has an outbound agent:
- The phone number should have an outbound_agent_id configured, or you need to use override_agent_id in your request [(2) ]()
Please re-upload the screenshot showing your Pabbly configuration (URL, headers, body) so I can help identify the specific issue.AI Evy
12/16/2025, 5:39 PMAI Evy
12/16/2025, 5:39 PMSAMUEL PETER
12/16/2025, 5:39 PMAI Evy
12/16/2025, 5:39 PMAI Evy
12/16/2025, 5:40 PMfrom_number must be a phone number purchased from or imported to Retell
- Use override_agent_id instead of agent_id
- Phone numbers must be in E.164 format (e.g., +14157774444)
- Authorization header format: Bearer YOUR_API_KEY
You can also list your phone numbers to verify they're properly configured: [(3) ]()
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponses = await client.phoneNumber.list() ;
console.log(phoneNumberResponses) ;AI Evy
12/16/2025, 5:40 PMAI Evy
12/16/2025, 5:40 PMSAMUEL PETER
12/16/2025, 5:41 PMAI Evy
12/16/2025, 5:41 PMAI Evy
12/16/2025, 5:41 PMoverride_agent_id instead of agent_id [(1) ]()
The correct parameter name for specifying an agent in the Create Phone Call API is override_agent_id, not agent_id. [(2) ]()
2. Fix the to_number format [(1) ]()
Your to_number is malformed:
"+1. data contact fields phone_number: 2348106433379"
This should be a clean E.164 formatted number like "+12348106433379" or "+2348106433379" (depending on the country) .
3. Corrected payload structure:
json
{
"from_number": "+18338761192",
"to_number": "+2348106433379",
"override_agent_id": "agent_0c0c7cb66417ecc750427358",
"metadata": {
"source": "systeme.io"
}
}
, [(2) ]()
In Pabbly, make sure your dynamic field mapping for the phone number outputs just the number in E.164 format (e.g., +2348106433379) , not the placeholder text you're currently seeing.AI Evy
12/16/2025, 5:41 PMAI Evy
12/16/2025, 5:41 PM