ECS invalid reference format error
"Invalid reference format" means that the image name docker is trying to parse is invalid. In your logs:
"image": "<ecs_image_arn>",
The image name is indeed invalid and needs to be replaced with a valid image name. If that string has been replaced by you in this question for privacy, then the part removed is where your error exists.