https://prefect.io logo
Title
a

Arun Giridharan

10/28/2022, 3:36 PM
I'm running a Scheduled flow that calls another flow using the
startFlowRun
method. Initially when I was calling the first flow without using the
wait
parameter, the flows worked fine, but after I added the parameter, the parent flow failed with
TypeError: Object of type SUCCESS is not JSON serializable
. I was wondering if this is a known issue. Prefect version is 1.4.0
m

Mason Menges

10/28/2022, 9:25 PM
Hey @Arun Giridharan do you have a simple example of the code you're running?
a

Arun Giridharan

11/02/2022, 2:29 PM
@Mason Menges I'm running into essentially this error: https://github.com/PrefectHQ/prefect/issues/4975, I tried wrapping the wait_for_flow_run in a wrapper but that didn't work