Remove InvalidUpload response code

Invalid response is something from the openbmc registry, so it's not
a valid thing to return as a response code.  For this patch, remove
the generated error message, and replace the one place it's used with
internalError.

Tested: On last patch in series.

Change-Id: I8215935f00923c72fd7763645c06d0b6af73c01d
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/scripts/parse_registries.py b/scripts/parse_registries.py
index 29a40f1..194f134 100755
--- a/scripts/parse_registries.py
+++ b/scripts/parse_registries.py
@@ -272,7 +272,6 @@
         "AccountModified",
         "QueryParameterOutOfRange",
         "PasswordChangeRequired",
-        "InvalidUpload",
         "InsufficientStorage",
         "OperationNotAllowed",
         "ArraySizeTooLong",
@@ -332,12 +331,6 @@
 
     file, json_dict, namespace, url = entry
 
-    # Note, this message doesn't exist in DMTF.  Needs cleaned up at some point
-    json_dict["Messages"]["InvalidUpload"] = {
-        "Message": "Invalid file uploaded to %1: %2.*",
-        "ParamTypes": ["string", "string"],
-    }
-
     messages = OrderedDict(
         sorted(json_dict["Messages"].items(), key=get_old_index)
     )
@@ -362,6 +355,7 @@
 #include <source_location>
 #include <string>
 #include <string_view>
+#include <utility>
 
 // IWYU pragma: no_forward_declare crow::Response