Skip to content

frodo journey import -A fails with “Cannot convert undefined or null to object” #498

@rclapman

Description

@rclapman

Attempting to import journeys from separate files using the -A flag results in a runtime error, regardless of argument order or working directory.

Commands tested:

# Option 1: With explicit directory and debug
frodo journey import -D /Users/ron/temp <tenant> -A --debug

# Option 2: Alternate argument order
frodo journey import -A -D /Users/ron/temp <tenant>

# Option 3: Ran from within the directory (no -D)
cd /Users/ron/temp
frodo journey import -A <tenant>

All result in:

Cannot convert undefined or null to object

•	Adding --debug does not provide additional context.
•	Importing individual journey files (using -f) works without issue.

Expected behavior:

frodo journey import -A should process all journey .json files in the specified or current directory, as documented.

Notes:

Tested with Frodo CLI version: cli: v3.0.5

Please advise if there are required file structures or metadata that could cause this, or if this is a known issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions