Flireo AI
WebsiteLinkedin
WebsiteLinkedin
  1. Guides
  • API Reference
    • Agents
      • List all agents
      • Create a new agent
      • Get an agent
      • Update an agent
      • Delete an agent
    • Tool Templates
      • List all tool templates
      • Create a new tool template
      • Get a tool template
      • Update a tool template
      • Delete a tool template
    • Numbers
      • List all phone numbers
      • Register a phone number
      • Get a phone number
      • Update a phone number
      • Delete a phone number
    • Calls
      • List calls
      • Get call by ID
      • Initiate outbound call
    • Call Control
      • Send control command to active call
    • Usage
      • Get usage logs
    • SIP Trunks
      • List SIP trunks
      • Create a SIP trunk
      • Get a SIP trunk
      • Delete a SIP trunk
    • Voices
      • List available voices
    • BYOK
      • Get BYOK configurations
      • Add BYOK configuration
      • Delete BYOK configuration
      • Get BYOK provider configurations
    • Domains
      • Get your domain
      • Add a domain
      • Delete your domain
      • List available Resend domains
      • Select and sync a Resend domain
      • Verify domain DNS records
      • Refresh domain status
    • Webhooks
      • Dynamic assistant configuration webhook
      • Tool/Function Call
      • Call Status Update
      • End of Call Report
    • Analysis Templates
      • List analysis templates
      • Create analysis template
      • Get analysis template
      • Update analysis template
      • Delete analysis template
    • Organization
      • Get organization information
    • Campaigns
      • List all campaigns
      • Create a campaign
      • Get a campaign
      • Update a campaign
      • Delete a campaign
      • List campaign leads
      • Add a lead
      • Remove a lead
  • Documentation
    • Get started
      • Quickstart
      • Introduction
      • Authentication
    • Core concepts
      • Agents
      • Phone numbers
      • Calls
      • Webhooks
    • Api's
      • Organization
      • Agents
      • Phone numbers
      • Sip trunks
      • Calls
      • Call control
      • Usage
      • Voices
      • BYOK
      • Domains
      • Analysis templates
      • Tool templates
    • Webhooks
      • Overview
      • Assistant request
      • Tool calls
      • Status update
      • End of call report
      • Security
    • Guides
      • BYOK Setup
      • Call analysis
      • Custom Tools
      • Call Transfers
      • xAI Realtime Integration
      • Analysis templates
      • Billing
      • Error codes
      • Rate limits
      • Sip Trunks
      • Tool templates
      • Troubleshooting
WebsiteLinkedin
WebsiteLinkedin
  1. Guides

Troubleshooting

This guide covers common issues you may encounter when integrating with Flireo and how to resolve them.

Authentication Issues#

401 Unauthorized#

Symptom: All API requests return 401 Unauthorized.
Possible Causes:
Missing Authorization header
Invalid API key
API key has been revoked
Solution:
1.
Verify your API key is correct
2.
Ensure the header format is Authorization: Bearer YOUR_API_KEY
3.
Check if the key is active in Settings > API Keys
4.
Generate a new key if needed

403 Forbidden#

Symptom: Request returns 403 Forbidden.
Possible Causes:
Trying to access another organization's resources
Resource doesn't belong to your organization
Solution:
Verify the resource ID belongs to your organization by listing your resources first.

Call Issues#

Calls Not Being Answered#

Symptom: Incoming calls ring but are not answered by your agent.
Possible Causes:
Phone number not registered in Flireo
No agent assigned to the phone number
Agent is set to is_active: false
SIP forwarding not configured correctly with your provider
Solution:
1.
Verify the number is registered:
2.
Check an agent is assigned (agent_id is not null)
3.
Verify the agent is active:
4.
Contact your SIP provider to verify forwarding is configured

Calls Ending Immediately#

Symptom: Calls connect but end within seconds.
Possible Causes:
Insufficient credits balance
BYOK API keys invalid or expired
LLM provider rate limiting
Solution:
1.
Check your credits balance:
2.
Verify BYOK keys are valid by testing them directly with the provider
3.
Check your provider dashboards for rate limit or billing issues

Poor Audio Quality#

Symptom: Audio is choppy, delayed, or unclear.
Possible Causes:
Network latency between caller and our servers
TTS provider issues
STT provider struggling with audio input
Solution:
1.
Check your network connectivity
2.
Try a different TTS voice or provider
3.
Ensure the caller's environment isn't too noisy

Webhook Issues#

Webhooks Not Being Received#

Symptom: Your endpoint isn't receiving webhook requests.
Possible Causes:
Incorrect webhook_url configured
Webhook events not enabled
Your endpoint is not accessible from the internet
Firewall blocking requests
Solution:
1.
Verify webhook configuration:
2.
Check webhook_url and webhook_events are set correctly
3.
Test your endpoint is accessible:
4.
Check your firewall allows incoming POST requests

Webhook Signature Verification Failing#

Symptom: Your signature verification always returns false.
Possible Causes:
Using wrong webhook_secret
Not using raw request body for verification
Timestamp format mismatch
Solution:
1.
Verify you're using the correct secret from your agent configuration
2.
Use the raw request body (string), not parsed JSON:
3.
Ensure timestamp is included in signature calculation

Assistant Request Timing Out#

Symptom: Calls proceed with default configuration despite webhook being configured.
Cause: Your endpoint is taking more than 5 seconds to respond.
Solution:
1.
Optimize your endpoint to respond faster
2.
Cache frequently accessed data (CRM lookups, etc.)
3.
Use async processing where possible
4.
If you can't respond in time, return an empty object {} to use defaults

BYOK Issues#

Provider Key Not Working#

Symptom: Calls fail when using BYOK configuration.
Possible Causes:
API key is invalid or expired
Key doesn't have required permissions
Provider account has insufficient credits
Solution:
1.
Test the key directly with the provider's API
2.
Check key permissions (e.g., OpenAI keys need "All" access)
3.
Verify provider account has available credits
4.
Re-add the key via the BYOK API:

ElevenLabs Voices Not Working#

Symptom: Agent uses a different voice than configured.
Cause: The voice ID is not in your ElevenLabs Voice Library.
Solution:
1.
Go to https://elevenlabs.io/app/voice-library
2.
Add the voice you want to use to your library
3.
Copy the voice ID from your library (not the public listing)
4.
Update your agent with the correct voice ID

Outbound Call Issues#

402 Payment Required#

Symptom: Outbound calls return 402 Payment Required.
Cause: Your organization has insufficient credits balance.
Solution:
Add credits through the billing dashboard or API. See Billing Guide.

Outbound Call Not Connecting#

Symptom: Outbound call initiated but destination never rings.
Possible Causes:
Invalid destination phone number format
Destination number is blocking unknown callers
SIP trunk configuration issue
Solution:
1.
Verify phone number is in E.164 format (e.g., +31612345678)
2.
Try calling a different test number
3.
Check SIP trunk is configured for outbound calls

API Issues#

429 Too Many Requests#

Symptom: API returns 429 Too Many Requests.
Cause: You've exceeded the rate limit (100 requests/minute).
Solution:
1.
Implement exponential backoff in your code
2.
Check X-RateLimit-Remaining header to track usage
3.
Cache responses where appropriate
4.
Contact support if you need higher limits

400 Bad Request#

Symptom: API returns 400 Bad Request with validation errors.
Solution:
Read the error message carefully - it indicates which field is invalid:
{
  "error": {
    "code": "invalid_request",
    "message": "Missing required field: phone_number",
    "param": "phone_number"
  }
}
Common validation issues:
Phone numbers must be E.164 format: +31612345678
UUIDs must be valid format
Required fields cannot be null

Getting Help#

If you've tried the solutions above and still have issues:
1.
Check the API response - Error messages often contain helpful details
2.
Review recent changes - Did this work before? What changed?
3.
Test with minimal configuration - Remove optional features to isolate the issue
4.
Contact support - Email support@flireo.com with:
Your organization ID
The request that's failing (redact sensitive data)
The full error response
Timestamp of when the issue occurred
Modified at 2025-12-31 12:10:00
Previous
Tool templates
Built with