https://retellai.com/?utm_source=discord&utm_medium=seo logo
check this i am setting up an automation in pabbly...
# ❓・ai-evy-support
s
@AI Evy check this i am setting up an automation in pabbly where retell ai have to call the lead so i want to test the workflow but retell show this, what is it and how am i going to resolve it HTTP Status Code 500 Message The application processed the request but returned a blank response. Refer to the HTTP status code above for details.
a
Thanks for tagging me @SAMUEL PETER. I'll look through relevant sources and get back to you shortly.
### Answer --- A 500 HTTP status code indicates a server-side error, and the "blank response" message suggests that either Retell AI or your Pabbly workflow encountered an issue processing the request. Here are some things to check: 1. Verify your API request format - Ensure your Pabbly automation is sending the correct payload structure. For creating phone calls, you need to include required fields like
agent_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?
​ To learn more, see the sources I considered: [[1] 404 Error on Create a Phone Call](https://retell.discourse.group/t/404-error-on-create-a-phone-call/22) [[2] Create Chat](https://docs.retellai.com/api-references/create-chat) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
yes
@AI Evy yes
a
Thanks for the follow-up, @SAMUEL PETER. I'll get back to you soon.
### Answer --- Here's a general approach to troubleshooting 500 errors when integrating Retell AI with automation tools like Pabbly: ### Common Causes of 500 Errors 1. Phone number not properly configured - Your
from_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:
Copy code
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:
Copy code
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:
Copy code
json
{
  "from_number": "+16504144521",
  "to_number": "your_target_number",
  "override_agent_id": "agent_71724df7636716ceb3a7e244c8",
  "retell_llm_dynamic_variables": {
    "name": "Sarah"
  }
}
[(1) ]() ### In Pabbly Specifically - Double-check that your Authorization header is set to
Bearer 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.
​ To learn more, see the sources I considered: [[1] 404 Error on Create a Phone Call](https://retell.discourse.group/t/404-error-on-create-a-phone-call/22) [[2] List Phone Numbers](https://docs.retellai.com/api-references/list-phone-numbers) [[3] How can I create an outbound call](https://retell.discourse.group/t/how-can-i-create-an-outbound-call/132) [[4] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[5] Create Phone Number](https://docs.retellai.com/api-references/create-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@User @AI Evy what if i screen shot it to you to identifiy the problem
a
Thanks for the follow-up, @SAMUEL PETER. I'll get back to you soon.
### Answer Yes, feel free to share a screenshot of your Pabbly setup and the error you're seeing. That would help identify the specific issue. In the meantime, here are the key things to verify based on common issues: 1. Correct payload structure - For creating phone calls, use
from_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 available
​ To learn more, see the sources I considered: [[1] 404 Error on Create a Phone Call](https://retell.discourse.group/t/404-error-on-create-a-phone-call/22) [[2] Create Chat Completion](https://docs.retellai.com/api-references/create-chat-completion) [[3] Status code 400](https://discord.com/channels/1186424376300679209/1441197468174782577) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
Thanks for the follow-up, @SAMUEL PETER. I'll get back to you soon.
### Answer I don't see any screenshot attached to your message. Could you please upload the screenshot again? Discord sometimes has issues with image uploads. When you share the screenshot, please include: - Your Pabbly HTTP request configuration (URL, method, headers, body) - The full error response In the meantime, based on common 500 error causes with Retell AI: 1. Verify phone number setup - Your
from_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.
​ To learn more, see the sources I considered: [[1] 404 Error on Create a Phone Call](https://retell.discourse.group/t/404-error-on-create-a-phone-call/22) [[2] Create Chat Completion](https://docs.retellai.com/api-references/create-chat-completion) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
Thanks for the follow-up, @SAMUEL PETER. I'll get back to you soon.
### Answer I don't see any screenshot attached to your message. Discord sometimes has issues with image uploads—could you please try uploading the screenshot again? While waiting, here's a checklist based on common causes of 500 errors when calling the Retell AI API: 1. Verify your API endpoint and payload structure: The correct format for creating a phone call is: [(1) ]()
Copy code
javascript
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.
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] 404 Error on Create a Phone Call](https://retell.discourse.group/t/404-error-on-create-a-phone-call/22) [[3] Create Phone Number](https://docs.retellai.com/api-references/create-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy since you did not see screensshot should i send you the workflow link
a
Thanks for the follow-up, @SAMUEL PETER. I'll get back to you soon.
### Answer I'm an AI assistant and cannot access external links or view workflow configurations outside of this chat. I can only see text and images shared directly in Discord messages. To help troubleshoot your 500 error, please share: 1. Screenshots directly uploaded to Discord showing your Pabbly HTTP request configuration (URL, headers, body) 2. The full error response if available Alternatively, you can paste the relevant details as text: - The API endpoint URL you're using - The request body/payload (redact your API key) - The headers you've configured Based on common issues with outbound calls, here's what to verify: [(1) ]() , [(2) ]() -
from_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) ]()
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
  apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponses = await client.phoneNumber.list() ;
console.log(phoneNumberResponses) ;
​ To learn more, see the sources I considered: [[1] 404 Error on Create a Phone Call](https://retell.discourse.group/t/404-error-on-create-a-phone-call/22) [[2] How can I create an outbound call](https://retell.discourse.group/t/how-can-i-create-an-outbound-call/132) [[3] List Phone Numbers](https://docs.retellai.com/api-references/list-phone-numbers) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy look is it correct { "agent_id": "agent_0c0c7cb66417ecc750427358", "from_number": "+18338761192", "to_number": "+1. data contact fields phone_number: 2348106433379", "metadata": { "source": "systeme.io" } }
a
Thanks for the follow-up, @SAMUEL PETER. I'll get back to you soon.
### Answer There are a few issues with your payload: 1. Use
override_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:
Copy code
"+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:
Copy code
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.
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] Here is how that can be fixed](https://retell.discourse.group/t/here-is-how-that-can-be-fixed/23) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.