mirror of
https://wiilab.wiimart.org/wiimart/WiiMart-github-io
synced 2025-09-04 04:21:04 +02:00
126 lines
6.3 KiB
JavaScript
126 lines
6.3 KiB
JavaScript
const errorCodes = {
|
|
"201005": "Invalid public key type in certificate",
|
|
"201009": "Read failure (short read)",
|
|
"201010": "Write failure (short write)",
|
|
"201012": "Invalid signature type (for signed blobs)",
|
|
"201016": "Maximum amount of handles exceeded (3 handles, as there are only 3 contexts)",
|
|
"201017": "Invalid arguments",
|
|
"201020": "Device ID mismatch. Returned by ES_ImportTicket if the ticket is personalised and the device ID from the ticket mismatches with the actual ID.",
|
|
"201022": "Imported content hash does not match with the hash from the TMD. Returned by ES_ImportContentEnd and ES_ImportBoot.",
|
|
"201024": "Memory allocation failure",
|
|
"201026": "Incorrect access rights (according to the TMD)",
|
|
"201027": "Issuer not found in the certificate chain",
|
|
"201028": "Ticket not found",
|
|
"201029": "Invalid ticket. This is returned if the common key field contains an invalid value (anything other than 0 or 1). This is also returned from ES_LaunchTitle if the title ID contained in the ticket does not match the TMD title ID.",
|
|
"201031": "During LaunchTitle/ImportTitle: installed boot2 version is too old. During ImportBoot: downgrades are not allowed.",
|
|
"201032": "Fatal error early in ES initialisation. Can also be returned in ES_CheckHasKoreanKey in all other cases (key is not the Korean Key or a zero key!)",
|
|
"201033": "A ticket limit was exceeded (duration or launch count)",
|
|
"201034": "Returned by ES_CheckHasKoreanKey if the key is sensed to be all zeroes",
|
|
"201035": "A title with a higher version is already installed",
|
|
"201036": "Required sysversion(IOS) is not installed (only for the system menu [check])",
|
|
"201037": "Installed number of contents doesn't match TMD (only for the system menu [check])",
|
|
"201039": "Returned by DI as an ES error code when "TMD not supplied for disc/nand game"",
|
|
"202000": "Permission denied (returned when accessing an object for which the caller has no permission)",
|
|
"202001": "IOSC_EEXIST",
|
|
"202003": "IOSC_EMAX",
|
|
"202004": "IOSC_ENOENT",
|
|
"202005": "IOSC_INVALID_OBJTYPE",
|
|
"202006": "IOSC_INVALID_RNG",
|
|
"202007": "IOSC_INVALID_FLAG",
|
|
"202008": "IOSC_INVALID_FORMAT",
|
|
"202009": "IOSC_INVALID_VERSION",
|
|
"202010": "IOSC_INVALID_SIGNER",
|
|
"202011": "IOSC_FAIL_CHECKVALUE",
|
|
"202012": "Internal failure",
|
|
"202013": "Memory allocation failure. Known to be returned when the keyring is full (contains 0x20 keys)",
|
|
"202014": "Invalid size",
|
|
"202015": "Invalid address",
|
|
"202016": "Unaligned data",
|
|
"204034": "Invalid SOAP response",
|
|
"204035": "Problem importing ticket",
|
|
"204036": "Problem importing title metadata",
|
|
"204037": "Problem importing title content",
|
|
"204042": "User is not registered with the server",
|
|
"204050": "You do not own a title; ticket not found",
|
|
"204704": "HTTP 404 - Not Found",
|
|
"204800": "HTTP 500 - Internal Server Error",
|
|
"204961": "SSL cipher error when trying to communicate with SOAP servers",
|
|
"205007": "Invalid NAND Dump (Dolphin only)",
|
|
"205625": "ECS Gift error",
|
|
"205627": "Can't buy DLC for a title you don't own.",
|
|
"205646": "Unable to send present (ECS Gift)",
|
|
"205672": "ECS Account mismatch",
|
|
"204501": "HTTP 201 Created",
|
|
"204502": "HTTP 202 Accepted",
|
|
"204503": "HTTP 203 Non-Authoritative Information",
|
|
"204504": "HTTP 204 No Content",
|
|
"204505": "HTTP 205 Reset Content",
|
|
"204506": "HTTP 206 Partial Content",
|
|
"204600": "HTTP 300 Multiple Choices",
|
|
"204601": "HTTP 301 Moved Permanently",
|
|
"204602": "HTTP 302 Found",
|
|
"204603": "HTTP 303 See Other",
|
|
"204604": "HTTP 304 Not Modified",
|
|
"204607": "HTTP 307 Temporary Redirect",
|
|
"204608": "HTTP 308 Permanent Redirect",
|
|
"204700": "HTTP 400 Bad Request",
|
|
"204701": "HTTP 401 Unauthorized",
|
|
"204702": "HTTP 402 Payment Required",
|
|
"204703": "HTTP 403 Forbidden",
|
|
"204704": "HTTP 404 Not Found",
|
|
"204705": "HTTP 405 Method Not Allowed",
|
|
"204706": "HTTP 406 Not Acceptable",
|
|
"204707": "HTTP 407 Proxy Authentication Required",
|
|
"204708": "HTTP 408 Request Timeout",
|
|
"204709": "HTTP 409 Conflict",
|
|
"204710": "HTTP 410 Gone",
|
|
"204711": "HTTP 411 Length Required",
|
|
"204712": "HTTP 412 Precondition Failed",
|
|
"204713": "HTTP 413 Request Too Large",
|
|
"204714": "HTTP 414 Request-URI Too Long",
|
|
"204715": "HTTP 415 Unsupported Media Type",
|
|
"204716": "HTTP 416 Range Not Satisfiable",
|
|
"204717": "HTTP 417 Expectation Failed",
|
|
"204800": "HTTP 500 Internal Server Error",
|
|
"204801": "HTTP 501 Not Implemented",
|
|
"204802": "HTTP 502 Bad Gateway",
|
|
"204803": "HTTP 503 Service Unavailable",
|
|
"204804": "HTTP 504 Gateway Timeout",
|
|
"204805": "HTTP 505 HTTP Version Not Supported",
|
|
"204811": "HTTP 511 Network Authentication Required",
|
|
"205826": "Server under heavy load",
|
|
"205829": "Server under heavy load",
|
|
"205968": "Bad device code",
|
|
"205969": "Server under heavy load",
|
|
"206670": "Invalid friend code",
|
|
"206671": "Invalid/Wrong Wii Shop title ID",
|
|
"206672": "No title info (Wii Shop)",
|
|
"206673": "Invalid registration status",
|
|
"206674": "Unexpected eclib error",
|
|
"209531": "HTTP 404 Not Found",
|
|
"209552": "Server error",
|
|
"209593": "Access denied by Opera's Wii Shop domain filter",
|
|
"209600": "Connection Timeout, the shop took too long to load",
|
|
"209601": "Connection Timeout, the shop took too long to load",
|
|
"209800": "No DNS Entry for oss-auth.shop.wii.com",
|
|
"220003": "The requested URL was filtered by Opera's filter",
|
|
"220202": "Connection refused"
|
|
};
|
|
|
|
document.getElementById("submitBtn").addEventListener("click", function() {
|
|
const codeInput = document.getElementById("errorCode").value;
|
|
const resultsDiv = document.getElementById("results");
|
|
const inputDiv = document.getElementById("input");
|
|
|
|
if (errorCodes[codeInput]) {
|
|
document.getElementById("code").innerText = codeInput;
|
|
document.getElementById("issue").innerText = errorCodes[codeInput];
|
|
inputDiv.style.display = "none";
|
|
resultsDiv.style.display = "block";
|
|
} else {
|
|
alert("Invalid error code. Please enter a valid 6-digit error code. (the error might not be in the error.js, ask in the discord.)");
|
|
}
|
|
});
|
|
|
|
function refreshPage() {location.reload();}
|