Skip to content

← All questions

No data file for "data/{env}/users.csv" in env "staging" when the common file exists

Asked 7,380 views2 answers
bash
sdods run -p shop -e staging -l ui -t @data-driven
text
✖ DATASET_NOT_FOUND: No data file for "data/{env}/users.csv" in env "staging".
  hint: Tried: /work/shop/projects/shop/data/staging/users.csv, /work/shop/projects/shop/data/common/users.csv

Declared like this:

yaml
data:
  sources:
    users: { type: csv, path: 'data/{env}/users.csv' }

There is no data/staging/ directory, which is fine, that was the plan — every environment was supposed to fall back to the common file. And there is a common file. It is called data/common/logins.csv.

I read the resolution order as "try the env path, then fall back to common", so I expected it to find it.

asked by Annika Solheim14,002 ·

2 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related