Error Codes
Errors are returned as { "code": "…", "message": "…" }.
Requests
Section titled “Requests”| Code | HTTP | Meaning |
|---|---|---|
search-json-request-parse-failed | 400 | Malformed request body |
search-invalid-search-request | 400 | The query request is invalid for the backend |
search-invalid-document | 400 | The document failed validation |
search-backend-not-found | 400 | Unknown backend name |
search-document-not-found | 404 | Unknown document schema |
search-index-not-found | 404 | The index/collection does not exist |
search-tenants-backend-and-documents-not-found | 400 | The tenant has no configured backends/documents (unknown tenant) |
search-no-primary-key-in-document | 400 | The document declares no key field |
search-multiple-primary-key-in-document | 400 | The document declares more than one key field |
search-invalid-field-type | 400 | A field has an unsupported type |
search-unknown-backend | 400 | Unsupported backend type/backend combination |
search-upsupported-type-for-backend | 400 | A field type isn’t supported by the chosen backend |
Indexing and operations
Section titled “Indexing and operations”| Code | HTTP | Meaning |
|---|---|---|
search-adding-document-failed | 500 | Insert failed |
search-search-in-index-failed | 500 | Query execution failed |
search-delete-in-index-failed | 500 | Delete failed |
search-creating-index-failed / search-create-index-for-tenant-failed | 500 | Index/collection/table creation failed |
search-init-search-backend-failed | 500 | Backend client could not be initialized |
search-milvus-collection-load-failed | 500 | Milvus collection failed to load |
search-backend-parsing-failed / search-field-parsing-failed | 500 | Definition parse error |
search-backend-service-config-not-found | 500 | Backend connection params missing from tenant config |
search-computed-field-eval-failed | 500 | A computed field’s expression failed to evaluate |
search-expression-not-matched-in-data | 400 | A computed-field expression produced no value |
search-invalid-result-type-found-during-search | 500 | The backend returned an unexpected result shape |
See also RAG → Known limitations.