<@U06RKAMK0UC> We're seeing this error when trying...
# ask-ai
b
@ancient-wolf-19325 We're seeing this error when trying to register a workflow with this task in it Request 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:"<task_name>" version:"<version>"
a
The error occurs because Flyte detects a task with the same name and version but a different structure already exists. This can happen if the task's configuration, container image, or other structural elements have changed. To resolve this, you can: 1. Change the Task Version: When registering the task, specify a new version to differentiate it from the existing one. 2. Ensure Deterministic Task Configuration: Make sure that the task configuration is consistent and deterministic to avoid unintentional changes. Would you like more details on how to change the task version or ensure deterministic task configuration? Sources: - Flyte GitHub Issue #4904 - Flyte GitHub Issue #5364 - Flyte Discuss Thread 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.