![Checking stopped tasks for errors<a name="stopped-task-errors"></a> If you have trouble starting a task, your task might be stopping because of an error\. For example, you run the task and the task displays a `PENDING` status and then disappears\. You ... Checking stopped tasks for errors<a name="stopped-task-errors"></a> If you have trouble starting a task, your task might be stopping because of an error\. For example, you run the task and the task displays a `PENDING` status and then disappears\. You ...](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/images/stopped_container_status_reason.png)
Checking stopped tasks for errors<a name="stopped-task-errors"></a> If you have trouble starting a task, your task might be stopping because of an error\. For example, you run the task and the task displays a `PENDING` status and then disappears\. You ...
![amazon web services - Fargate task stops about 10s after is starts with no log output - Stack Overflow amazon web services - Fargate task stops about 10s after is starts with no log output - Stack Overflow](https://i.stack.imgur.com/b6NWP.png)
amazon web services - Fargate task stops about 10s after is starts with no log output - Stack Overflow
No logs for STOPPED(Essential container in task exited) · Issue #1883 · aws/amazon-ecs-agent · GitHub
![No logs for STOPPED(Essential container in task exited) · Issue #1883 · aws/amazon-ecs-agent · GitHub No logs for STOPPED(Essential container in task exited) · Issue #1883 · aws/amazon-ecs-agent · GitHub](https://user-images.githubusercontent.com/3975401/53294072-966e2880-3794-11e9-95f4-4fb7a2b4c457.png)
No logs for STOPPED(Essential container in task exited) · Issue #1883 · aws/amazon-ecs-agent · GitHub
No logs for STOPPED(Essential container in task exited) · Issue #1883 · aws/amazon-ecs-agent · GitHub
![amazon web services - No CloudWatch logs for ECS task with reason "Essential container in task exited" - Stack Overflow amazon web services - No CloudWatch logs for ECS task with reason "Essential container in task exited" - Stack Overflow](https://i.stack.imgur.com/YehTp.png)
amazon web services - No CloudWatch logs for ECS task with reason "Essential container in task exited" - Stack Overflow
![No logs for STOPPED(Essential container in task exited) · Issue #1883 · aws/amazon-ecs-agent · GitHub No logs for STOPPED(Essential container in task exited) · Issue #1883 · aws/amazon-ecs-agent · GitHub](https://user-images.githubusercontent.com/3975401/53294073-ac7be900-3794-11e9-903b-59bb77dbce85.png)