Skip to content

← All questions

CONFIG_INVALID: Project demo-shop has no data.userPool configured, but data.sources.users exists

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

Added @user:standard to a scenario. The run stops before the first step:

text
✖ CONFIG_INVALID: Project demo-shop has no data.userPool configured.
  hint: Add data.userPool: { dataset: users, roleColumn: role } to sdods.project.yaml.

The confusing part is that data.sources.users is declared and works — Given I load dataset "users" row 0 loads accounts fine in another scenario. So the runner can obviously find the accounts. What is the second block for?

2 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related