Hey all I am trying to register/run a workflow on ...
# ask-the-community
n
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
l
Maybe you can try use
--version
flag to specify other version and check if it is worked!
n
in run , there is no option called --version
l
pyflyte run
--remote
n
image.png
l
pyflyte register workflow.py
--version TEST
try this
n
image.png
l
use pyflyte register
please tell me if it works, thanks a lot!
n
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
l
Can you provide the full code? And do you activate the flyte cluster such as
flytectl demo start
n
we have a remote cluster. we have other workflows registered there
its not a demo one
semi production. cant share everything
l
Do you use the latest flytectl and flytekit?
Can you try another file?
n
flytekit 1.9.1
l
And maybe tell me the different of the files between worked and not worked
n
the bad thing is that , sometimes it works. and sometimes it doesnt
it's hard to track
l
I want to help you, but you need to provide more details. I am clueless. Or maybe you can direct message me.
n
so maybe it depends on something else other than file itself