diff --git a/scripts/server.js b/scripts/server.js
index <HASH>..<HASH> 100644
--- a/scripts/server.js
+++ b/scripts/server.js
@@ -98,7 +98,7 @@ const requestHandler = (request, response) => {
   } else if (invalidColors.length) {
     responseObj.status = `'${invalidColors.join(', ')}' is not a valid HEX color`;
     statusCode = 400;
-  } else {
+  } else if (statusCode === 200) {
     responseObj.status = `names for '${urlColorList.join(', ')}' returned`;
     responseObj.colors = nameColors(urlColorList);
     statusCode = 200;
fix($server): makes sure server does not continue, if invalid colors are requested