Skip to main content
This page covers common errors and pitfalls when integrating with the Cludo API.

Authentication errors

401 Unauthorized

Common causes: Debugging tip: Decode your base64 token to verify its contents:

403 Forbidden

Common causes:

Wrong region

Requests sent to the wrong region return 401 Unauthorized because credentials are validated against the regional account store. EU credentials are only valid on the EU base URL and US credentials are only valid on the US base URL. Fix:
  1. Check your customer ID:
    • Below 10,000,000 → EU: https://api.cludo.com
    • 10,000,000 and above → US: https://api-us1.cludo.com
  2. Update the request base URL to match the customer ID range.
See Regions for full details.

Search returns no results

Symptom: Search returns totalDocument: 0 even though content exists. Common causes:

AI Chat / AI Summary errors

These errors are specific to the AI Chat (/search/answer) and AI Summary (/search/summarize) endpoints.

403 Forbidden: “AiChat feature is not enabled”

AI Chat and AI Summary return 403 Forbidden when the respective feature is not enabled for the engine. Fix: The AI feature must be enabled for your engine. Contact support or check your engine configuration in MyCludo.

422 Unprocessable Entity from AI Summary

AI Summary returns 422 Unprocessable Entity when the request is well-formed and reaches the model, but the selected search results do not contain enough relevant context to generate a useful summary. Treat this as a completed request with no usable answer. Show a “no summary available” message instead of retrying immediately, then consider broadening the query, selecting more relevant sources, or checking whether the indexed content covers the topic.

AI returns no answer or a generic answer

The generativeAnswerAvailable field in the search response indicates whether AI can attempt an answer. If it returns false, AI will not generate a useful response. Common causes:

Content indexing issues

Symptom: Documents pushed via Index Management don’t appear in search results. Common causes: If website pages aren’t being indexed, use the Test Crawler feature in MyCludo to diagnose why. How to use Test Crawler:
  1. Log in to MyCludo
  2. Navigate to Crawlers and select your crawler
  3. Click the Test Crawler button
  4. Enter the URL you want to test and press Enter
What Test Crawler shows you: Common issues Test Crawler helps identify:
  • JavaScript-rendered content: If your page content loads via JavaScript. Ask Cludo Support or Account Manager to enable JavaScript rendering in crawler settings
  • Login-protected pages: The crawler cannot access pages behind authentication
  • Slow-loading pages: Pages that take too long to load may time out
  • Missing Crawler Fields: Verify the page has title and description for the crawler to extract

Analytics not showing data

Symptom: The analytics dashboard shows no data even though searches are happening. Fix: Add the Cludo API analytics script or send tracking events through the API. If you build your own search UI, record both query events and result click events so analytics can connect searches to user behavior.

Rate limiting

Symptom: API returns 429 Too Many Requests. Fix: Reduce your request rate. If you need higher limits, contact support@cludo.com.

CORS errors

Symptom: Browser console shows CORS errors when calling the API from client-side code. Fix: Browser-based integrations should use SiteKey for search-related endpoints or anonymous requests for tracking. Do not expose Basic API keys in client-side code. If you see CORS errors:
  1. Verify you’re using SiteKey auth (not Basic) for client-side calls
  2. Ensure the Authorization header is correctly formatted
  3. Check that you’re hitting the correct base URL for your region
  4. Move server-only calls, such as index management and search tools, behind your own backend

Still stuck?

If none of the above resolves your issue:
  1. Check the FAQ for answers to common questions
  2. Email support@cludo.com with:
    • Your customer ID and engine ID
    • The endpoint you’re calling
    • The full request (headers + body)
    • The full response (status code + body)