Microservices Error

Please help in resolving this error thrown from the microservices container

/usr/src/app/node_modules/local-reverse-geocoder/index.js:746

throw err;

^

CsvError: Invalid Record Length: expect 19, got 4 on line 4538

at Object.__onRecord (/usr/src/app/node_modules/csv-parse/dist/cjs/index.cjs:940:11)

at Object.parse (/usr/src/app/node_modules/csv-parse/dist/cjs/index.cjs:903:36)

at Parser._flush (/usr/src/app/node_modules/csv-parse/dist/cjs/index.cjs:1336:26)

at Parser.final [as _final] (node:internal/streams/transform:112:25)

at callFinal (node:internal/streams/writable:694:27)

at prefinish (node:internal/streams/writable:723:7)

at finishMaybe (node:internal/streams/writable:733:5)

at afterWrite (node:internal/streams/writable:504:3)

at onwrite (node:internal/streams/writable:477:7)

at Parser.Transform._read (node:internal/streams/transform:245:5) {

code: 'CSV_RECORD_INCONSISTENT_FIELDS_LENGTH',

bytes: 786432,

comment_lines: 0,

empty_lines: 0,

invalid_field_length: 0,

lines: 4538,

records: 4537,

columns: false,

error: undefined,

header: false,

index: 4,

raw: undefined,


Was this page helpful?