Hi all, I'm trying to call the `create_flow_run_fr...
# ask-community
n
Hi all, I'm trying to call the
create_flow_run_from_deployment
and pass the following:
Copy code
response = await prefect_client.create_flow_run_from_deployment(
    deployment_id=UUID(config.tableau_refresh_flow_deployment_id),
    parameters={"WORKBOOK_ID": "9237"}
)
however, when the flow is running I received the follwoing exception:
Copy code
Validation of flow parameters failed with error: 
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/prefect/engine.py", line 457, in retrieve_flow_then_begin_flow_run
    parameters = flow.validate_parameters(flow_run.parameters)
  File "/usr/local/lib/python3.10/site-packages/prefect/flows.py", line 493, in validate_parameters
    args, kwargs = parameters_to_args_kwargs(self.fn, parameters)
  File "/usr/local/lib/python3.10/site-packages/prefect/utilities/callables.py", line 174, in parameters_to_args_kwargs
    raise SignatureMismatchError.from_bad_params(
prefect.exceptions.SignatureMismatchError: Function expects parameters [] but was provided with parameters ['WORKBOOK_ID']
Did anyone face that issue as well?
k
I'm also struggling with this, did you manage to resolve this?