Shaun Fender

02/24/2023, 10:59 AM
Hi all! Very much starting out trying to orchestrate our dbt commands using prefect but running into a few issues. Issues in images provided - can anyone guide me on why these flows aren't working? First image - no idea why it doesn't like that comma as I've lifted that snippet from prefect-dbt github page. Second image - I'm running a task from within a flow, but it seems to this I'm running a task from within a task?

Aaron Gonzalez

02/24/2023, 12:55 PM
The second image:
is a task. It's complaining because you have nested that task inside other tasks like
, etc.

Shaun Fender

02/24/2023, 1:14 PM
@Aaron Gonzalez Ah right I see, that makes sense, as I had this working with no issue. Thanks!

Emerson Franks

02/27/2023, 5:53 PM
I could be wrong but I'm pretty sure it's treating those backslashes as escape characters. Based on the path I'm assuming Windows which I think means you need to have \\ for each backslash.

Shaun Fender

02/28/2023, 2:46 PM
@Emerson Franks I did realise this in the end - but now have some other error message! Thanks for your response!
👍 1