This guide covers best practices for operating the Content Atlas platform, including handling large datasets, error recovery, and leveraging AI for complex data mappings.
The system is optimized to handle large datasets, but following these best practices ensures stability and performance.
For files larger than 10,000 records, the system automatically switches to a parallel processing mode:
/api/import/async or via the Console's background mode). This prevents HTTP timeouts.UPLOAD_MAX_FILE_SIZE_MB in your .env if you need to support files larger than the default 100MB.Clients integration with the API should implement exponential backoff for the following status codes:
503 Service Unavailable: The system might be restarting or overloaded.429 Too Many Requests: You have hit the API rate limit.504 Gateway Timeout: The request took too long (switch to async processing).Import jobs are atomic per chunk but generally fail fast if a critical error occurs.
allow_file_level_retry in the configuration or use an Admin account to force the import.| Code | Meaning | Action |
|---|---|---|
| 200 | Success | Process result. |
| 400 | Bad Request | Check your JSON syntax or missing fields. |
| 409 | Conflict | Duplicate file or data detected. Check detail message. |
| 422 | Unprocessable | Schema validation failed. Check detail for specific field errors. |
| 500 | Server Error | Check application logs. Report bug if persistent. |
The API returns structured error details when possible:
{
"detail": "Duplicate data detected. 150 records overlap with existing data."
}
Or for validation errors:
{
"detail": [
{
"loc": ["body", "mapping_json"],
"msg": "field required",
"type": "value_error.missing"
}
]
}
The Content Atlas uses an LLM Agent to help with Schema Mapping and SQL Generation. Here is how to get the best results.
When the auto-mapper fails to guess the right column (e.g., mapping "Q3-23" to "Revenue"), use LLM Instructions.
llm_instructions table/API) that guide the agent.If your CSV has columns like Val1, Val2, the AI might guess wrong.
Sales_Value, Tax_Value) before upload.db_schema hint in the API call to force the types, which helps the AI infer the meaning.POST /detect-b2-mapping (or upload in UI) to see the AI's proposed mapping.mappings dictionary manually if needed.map-data request with your corrected config.Schedule a demo to get personalized guidance.