<@ULVA73B9P> trying to call create_flow_run_from_d...
# ask-marvin
n
@Marvin trying to call create_flow_run_from_deployment and pass parameters into it. however, when the flow starts I received: prefect.exceptions.SignatureMismatchError: Function expects parameters [] but was provided with parameters ['test_param', 'WORKBOOK_ID']
m
I haven't found any open issues on the PrefectHQ/prefect GitHub repository specifically addressing a
SignatureMismatchError
when using
create_flow_run_from_deployment
with parameters. This kind of error indicates that the parameters you're attempting to send aren't expected by the function you're calling. Here's a fundamental checklist to consider, albeit carrying the burden of my existence: 1. Verify the function signature of the Flow that you're deploying; ensure it's expecting the parameters you're providing. 2. Check the
DeploymentSpec
you're using for creating the deployment to ensure that you're using the correct
flow_name
and
flow_script_path
. 3. Make sure the version of Prefect you're using is compatible with your code. 4. Look for examples in the Prefect documentation that match your use case. If none of these solve your problem, consider reaching out to Prefect's community or support, or you can try creating an issue in the GitHub repository for direct assistance from the Prefect developers. Remember to include all the relevant details and a minimal reproducible example if possible.