diff --git a/provider.go b/provider.go
index <HASH>..<HASH> 100644
--- a/provider.go
+++ b/provider.go
@@ -124,6 +124,15 @@ func Provide(c *gin.Context) {
 			return
 		}
 		if task, err := getMesosTask(reqParams.TaskId); err == nil {
+			if len(task.Statuses) == 0 {
+				atomic.AddInt32(&state.Stats.Denied, 1)
+				c.JSON(403, struct {
+					Status string `json:"status"`
+					Ok     bool   `json:"ok"`
+					Error  string `json:"error"`
+				}{string(state.Status), false, errTaskNotFresh.Error()})
+				return
+			}
 			startTime := time.Unix(0, int64(task.Statuses[len(task.Statuses)-1].Timestamp*1000000000))
 			if time.Now().Sub(startTime) > config.MaxTaskLife {
 				atomic.AddInt32(&state.Stats.Denied, 1)
If task has no status, deny the request.