https://prefect.io logo
Title
a

Ashley Felber

12/12/2022, 11:59 PM
I have a new issue with a deployment. I get the following error: prefect.exceptions.ParameterTypeError: Flow run received invalid parameters: - start_date: field required - end_date: field required - initial_url: field required - cursor_url: field required However, when I run the flow locally, there are no errors. For reference, this is the last line of the flow and as you can see the parameters are populated. Is there something different I need to do in the deployment?
if __name__ == "__main__":
    extract_load_events ('20221030','20221030','<https://us1.api.clevertap.com/1/events.json','https://us1.api.clevertap.com/1/events.json?cursor=>')
1
r

redsquare

12/13/2022, 12:05 AM
When the deployed flow runs it wont use that line - prefect calls the flow directly
:thank-you: 2
youll need to deploy with the params
🙌 1
a

Ashley Felber

12/13/2022, 12:10 AM
Thanks!