Troubleshooting
Connection or Authentication Errors
Section titled “Connection or Authentication Errors”- Verify
FRESHDESK_DOMAINandFRESHDESK_API_KEYare correctly set in Settings - Confirm the subdomain matches your Freshdesk URL (e.g.,
company.freshdesk.com, withouthttps://) - Confirm the API key is active in Freshdesk — regenerate it from Profile settings → API if it was rotated
- Check outbound HTTPS access from the NodeKAT container to
<subdomain>.freshdesk.com - Use the Test Connection action on the Connectors page, or review server logs for the specific error
Search Returns No Results
Section titled “Search Returns No Results”- Verify the Freshdesk connector is enabled on the Connectors page in the Admin UI
- Try the manual override: prefix your query with
/freshdesk - Note that the default search is scoped to Open tickets (
status:2) — ask for other statuses explicitly (e.g., “resolved tickets about the VPN”) - If you filtered by company, confirm the company name matches the value in the
cf_portal_name_akfield exactly - If you used a custom field filter, verify the field name and value are correct (see custom-field querying in Agent Tools)
Custom Field Query Returns 0 Results
Section titled “Custom Field Query Returns 0 Results”The agent automatically retries custom-field queries that return no results. If it still fails:
- Check the schema reference the agent injects — it lists each custom field, its type, and its choices
- For nested fields, use the subcategory value, not the parent
- Match the exact spelling, capitalization, and spacing of field values (they are case-sensitive)
- For unindexed fields (
cf_resolution_summary,cf_category,cf_sub_category,cf_root_cause), the query must usecustom_stringinstead of the field name
Extraction Not Running
Section titled “Extraction Not Running”- Verify Freshdesk is enabled on the Connectors page in the Admin UI
- Confirm
FRESHDESK_DOMAINandFRESHDESK_API_KEYare set - Check that RQ workers are running:
docker-compose ps rq-worker-1 - Check the RQ Dashboard at
http://localhost:9181for failed jobs - Trigger extraction manually on the Connectors page
Extraction Stops Early / Rate Limited
Section titled “Extraction Stops Early / Rate Limited”Freshdesk applies API rate limits. During paginated extraction, FluidRAG stops gracefully when Freshdesk returns a 429 response and respects the Retry-After header. If extraction stops early:
- Check the logs for rate-limit warnings
- Wait for the retry window and trigger extraction again
- Reduce the extraction window with a
start_date_overrideif you are backfilling a large history
Agent Not Responding to Freshdesk Queries
Section titled “Agent Not Responding to Freshdesk Queries”- Verify the Freshdesk connector is enabled on the Connectors page in the Admin UI
- Confirm both
FRESHDESK_DOMAINandFRESHDESK_API_KEYare set - Check the Freshdesk connection status on the Connectors page
- Try the manual override: prefix your query with
/freshdesk