Hello, I have created a deployment using an ECStas...
# ask-community
a
Hello, I have created a deployment using an ECStask block. The ECStask block is configured to run an existing task definition. When I try to run the deployment I get the following error: Submission failed. KeyError: "No class found for dispatch key 'ecs-task' in registry for type 'Block'." This error shows up under details of the flow run but there are no other logs.
j
Hi Ashley, could you try running
prefect block register -m prefect_aws.ecs
?
a
Ok I just did that, same error. I also already have done that before.
@Taylor Curran Still stuck on this, haven’t been able to successfully run a deployment yet. No rush, just FYI.
j
Was this ever resolved? Encountered the same issue
a
@James Gatter Yes, I fixed it. The solution for me was installing prefect-aws on the agent. Will tag you in another thread for more details.
👍 1