Hey all I am trying to register/run a workflow on ...
# flyte-support
i
Hey all I am trying to register/run a workflow on remote cluster, but i get this error:
Copy code
RPC Failed, with Status: StatusCode.INVALID_ARGUMENT
        details: task with different structure already exists with id resource_type:TASK project:"project_name" domain:"staging" name:"some_task_name" version:"Eg1iLWFry-AOPcFmT5AdYQ=="
I tried archiving older versions of that task, but I get the same error over and over.. How can I delete a task? What else could solve this issue? thanks
d
Maybe you can try use
--version
flag to specify other version and check if it is worked!
i
in run , there is no option called --version
d
pyflyte run
--remote
i
d
pyflyte register workflow.py
--version TEST
try this
i
d
use pyflyte register
please tell me if it works, thanks a lot!
i
Copy code
RPC Failed, with Status: StatusCode.INVALID_ARGUMENT
        details: task with different structure already exists with id resource_type:TASK project:"project_name" domain:"staging" name:"task_name" version:"test"
same error
d
Can you provide the full code? And do you activate the flyte cluster such as
flytectl demo start
i
we have a remote cluster. we have other workflows registered there
its not a demo one
semi production. cant share everything
👍 1
d
Do you use the latest flytectl and flytekit?
Can you try another file?
i
flytekit 1.9.1
d
And maybe tell me the different of the files between worked and not worked
i
the bad thing is that , sometimes it works. and sometimes it doesnt
it's hard to track
d
I want to help you, but you need to provide more details. I am clueless. Or maybe you can direct message me.
i
so maybe it depends on something else other than file itself