# announcements

Alex V

03/15/2021, 11:49 AM
Hi, I'm working on what I think should be a simple variation of the parameterized solids tutorial but I've hit a wall. I keep getting an error in the dagit UI that says
Missing required config entry "solids" at root level
. My execution block looks like this:
Copy code
if __name__ == "__main__":
    run_config = {
        "solids": {"load_data": {"config": {"file_path": "data/day_1_input.txt"}}}
    result = execute_pipeline(day_1_pipeline, run_config=run_config)
Any idea what could be going on?
Man, I just know the answer is going to be like a misplaced comma or something facepalm


03/15/2021, 12:35 PM
Where in the dagit UI are you seeing this error? Can you post a screenshot?


03/15/2021, 1:18 PM
@Alex one thing to clarify : putting run config in a “if name==__main” block doesn’t pass along that config to dagit - that only affects the behavior if you run the script directly from python. you’ll need to put the config into dagit again in the playground in order for it to run. And you don’t need a __main block at all if you only want to run the pipeline from dagit. This is something that the tutorial could make more clear.

Alex V

03/15/2021, 1:38 PM
Thanks Daniel, I see what you mean now. I got this error at first:
Copy code
$ dagster pipeline execute -f dagster_advent_of_code/
Error 1: Missing required config entry "solids" at the root.
But after reading more carefully, I got this to work:
Copy code
$ python dagster_advent_of_code/
I should be able to figure it out from here by using the dagit sandbox config or a YAML file. Thanks!