This message was deleted.
# ask-marvin
s
This message was deleted.
m
The error "Submission failed. ValidationError: 1 validation error for Process\ncommand\n value is not a valid list (type=type_error.list)" is likely related to how the command is being constructed or interpreted in your Prefect flow. One possible cause could be incorrect formatting of the command parameter, which expects a list. Here are some steps to address this issue: 1. Check Command Parameter: Ensure that the command parameter you are passing to your flow is indeed a list, even if it is empty. For example:
Copy code
command = []
2. Parameter Validation: Ensure you are using the correct types for your parameters. If you are using Pydantic for parameter validation, make sure that the types match. 3. Inspect Deployment: Verify that your deployment YAML or JSON configuration correctly specifies the command parameter as a list. Here's an example for YAML:
Copy code
yaml
   command:
     - "echo"
     - "Hello, World!"
For more detailed info, you might want to read the relevant Prefect documentation on handling command parameters: - Prefect Shell Command Documentation: link - Prefect Interactive Workflows Guide (validation examples): link Also, you might want to check out GitHub issues or reach out to the Prefect community for specific guidance. Here's a related GitHub issue: Test issue for notifications. If you continue to face issues, please share the snippet of your flow code and deployment configuration that causes the error, so I can assist you further.