ancient-wolf-19325
08/16/2024, 5:13 PMRequest rejected by the API, due to Invalid input.
RPC Failed, with Status: StatusCode.INVALID_ARGUMENT
details: task with different structure already exists with id resource_type:TASK project:"flytesnacks" domain:"staging" name:"path/to/function" version:"<version>"
1.12.0
FlyteAssertion: USER:AssertionError: error=Input model_version of type <class 'str'> was not specified for function <function_path>. Flyte workflow syntax is a domain-specific language (DSL) for building execution graphs which supports a subset of Python's semantics. When calling tasks, all kwargs have to be provided.
# Answer
Yes, there have been reports of less clear error messages in newer versions of Flytekit. According to this GitHub issue, users have noted that error messages in Flytekit can be hard to decipher, and there is an ongoing effort to improve them by providing richer context and hints on how to address the errors.
Would you like more details on the specific changes between versions 1.12.0 and 1.13.1, or guidance on how to handle these errors?
Sources:
- this GitHub issue
Slack Link
https://flyte-org.slack.com/archives/CP2HDHKE1/p1723828407.204219 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.