Tim Stoute
03/26/2025, 9:58 PMerror.importResults
from the raised exception to get a detailed error reason for each document.
at ImportError.TypesenseError [as constructor] (/workspace/node_modules/typesense/lib/Typesense/Errors/TypesenseError.js2328)
at new ImportError (/workspace/node_modules/typesense/lib/Typesense/Errors/ImportError.js2528)
at Documents.<anonymous> (/workspace/node_modules/typesense/lib/Typesense/Documents.js15439)
at step (/workspace/node_modules/typesense/lib/Typesense/Documents.js4823)
at Object.next (/workspace/node_modules/typesense/lib/Typesense/Documents.js2953)
at fulfilled (/workspace/node_modules/typesense/lib/Typesense/Documents.js2058)
at process.processTicksAndRejections (nodeinternal/process/task queues105:5) {
importResults: [
{
code: 400,
document: '{"administrative_area_level_1":"Ontario","city":"Toronto","countryName":"CA","createdAt":1741982413,"copy":"This is the question copy","provinceOrState":"ON","id":"1Hzs4Ih9JvqAHisW4OBu"}',
error: 'Field uid
has been declared in the schema, but is not found in the document.',
id: '1Hzs4Ih9JvqAHisW4OBu',
success: false
},"