Skip to content

Cannot read properties of undefined (reading 'getTracer') when importing CSV with CSV Mapper #16051

@SarahBocognano

Description

@SarahBocognano

Description

When importing a CSV file using the CSV Import connector, the process crashes with the following error:

TypeError: Cannot read properties of undefined (reading 'getTracer')
at telemetry (tracing.ts:123)
at getEntitiesFromCache (cache.ts:167)
at getEntitiesListFromCache (cache.ts:177)
at getEntitySettingFromCache (entitySetting-utils.ts:137)
at validateCsvMapper (csvmapper-utils.ts:130)
at processCsvForWorkers (importcsv-connector.ts:74)

Environment

  1. OS (where OpenCTI server runs): { e.g. Mac OS 10, Windows 10, Ubuntu 16.4, etc. }
  2. OpenCTI version: { e.g. OpenCTI 1.0.2 }
  3. OpenCTI client: { e.g. frontend or python }
  4. Other environment details:

Reproducible Steps

Steps to create the smallest reproducible scenario:
1.Create a CSV Mapper with at least one entity representation
2.Trigger a CSV import via the Import CSV connector
3.Observe the crash during the mapper validation phase

Expected Output

CSV import processes normally (or fails with a meaningful validation error).

Actual Output

Connector crashes with TypeError before any data is processed.

Additional information

Screenshots (optional)

Metadata

Metadata

Labels

buguse for describing something not working as expectedcsv mapperLinked to csv mapper feature

Type

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions