diff --git a/main.go b/main.go
index eb11d050760a532310cdc48c2613718337f316dd..76d26f69d685ae45af18cdce8b8e58fabf2f0d1d 100644
--- a/main.go
+++ b/main.go
@@ -85,7 +85,7 @@ func triggerPuppet(w http.ResponseWriter, req *http.Request) {
 	ok := fmt.Sprintf("{\n    \"status\": \"OK\",\n    \"response\": 200\n    \"token\": %v\n}", authToken)
 	ko := fmt.Sprintf("{\n    \"status\": \"OK\",\n    \"response\": 401\n    \"token\": %v\n}", authToken)
 	writeFile(ok, "/tmp/200.json")
-	writeFile(ko, "/tmp/503.json")
+	writeFile(ko, "/tmp/401.json")
 	w.Header().Set("Content-Type", "application/json")
 	if authToken != bearerToken {
 		statusFile = "/tmp/401.json"