                 (reload-job-list request)
                 (send-response request))
             (-> (job-does-not-exist-response job-name "enable")
-                (send-error-response request)))))
+                (send-error-response request :not-found)))))
 
 (defn disable-job
     [request]

              metadata   (get input-data :metadata)]
            (if (results/job-exists? job-name)
                (-> (job-already-exist-response job-name create-job-command)
                    (send-error-response request))
                (if (and job-name git-repo branch)
                    (-> (jenkins-api/create-job (config/get-jenkins-url request)
                                                (config/get-jenkins-auth request)

                     (-> (create-error-response job-name "get_job_results" "can not read test results")
                         (send-response request))))
            (-> (job-does-not-exist-response job-name "get_job_results")
                (send-error-response request :not-found)))))

(defn job-started-handler
    [request]
