Appendix A - Error Codes



WebCopier can show two types of errors: HTTP Status Code and Error Number.

HTTP Status Codes

HTTP Status Code Description
-1 The file is not found.
-2 Cannot parse the file name.
-3 Cannot complete the file download .
200 The request completed successfully.
201 The request has been fulfilled and resulted in the creation of a new resource
202 The request has been accepted for processing , but the processing has not been completed
203 The returned meta information in the entity-header is not the definitive set available from the origin server.
204 The server has fulfilled the request, but there is no new information to send back.
205 The request has been completed, and the client program should reset the document view that caused the request to be sent to allow the user to easily initiate another input action.
206 The server has fulfilled the partial GET request for the resource.
300 The server couldn't decide what to return.
301 The requested resource has been assigned to a new permanent URI, and any future references to this resource should be done using one of the returned URIs.
302 The requested resource resides temporarily under a different URI.
303 The response to the request can be found under a different URI and should be retrieved using a GET method on that resource.
304 The requested resource has not been modified.
305 The requested resource must be accessed through the proxy given by the location field.
307 The redirected request keeps the same verb. HTTP/1.1 behavior.
400 The request could not be processed by the server due to invalid syntax.
401 The requested resource requires user authentication.
402 Not currently implemented in the HTTP protocol.
403 The server understood the request, but is refusing to fulfill it.
404 The server has not found anything matching the requested URI.
405 The method used is not allowed.
406 No responses acceptable to the client were found.
407 Proxy authentication required.
408 The server timed out waiting for the request.
409 The request could not be completed due to a conflict with the current state of the resource. The user should resubmit with more information.
410 The requested resource is no longer available at the server, and no forwarding address is known.
411 The server refuses to accept the request without a defined content length.
412 The precondition given in one or more of the request header fields evaluated to false when it was tested on the server.
413 The server is refusing to process a request because the request entity is larger than the server is willing or able to process.
414 The server is refusing to service the request because the request URI is longer than the server is willing to interpret.
415 The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.
500 The server encountered an unexpected condition that prevented it from fulfilling the request.
501 The server does not support the functionality required to fulfill the request.
502 The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.
503 The service is temporarily overloaded.
504 The request was timed out waiting for a gateway.
505 The server does not support, or refuses to support, the HTTP protocol version that was used in the request message.

Error Numbers

Error Number Description
6 The handle that was passed to the API has been either invalidated or closed.
18 No more files have been found.
259 No more items have been found.
12001 No more handles could be generated at this time.
12002 The request has timed out.
12003 An extended error was returned from the server. This is typically a string or buffer containing a verbose error message.
12004 An internal error has occurred.
12005 The URL is invalid.
12006 The URL scheme could not be recognized, or is not supported.
12007 The server name could not be resolved.
12008 The requested protocol could not be located.
12009 A query request specified an invalid option value.
12010 The length of an option supplied to query is incorrect for the type of option specified.
12011 The requested option cannot be set, only queried.
12012 The Win32 Internet function support is being shut down or unloaded.
12013 The request to connect and log on to an FTP server could not be completed because the supplied user name is incorrect.
12014 The request to connect and log on to an FTP server could not be completed because the supplied password is incorrect.
12015 The request to connect and log on to an FTP server failed.
12016 The requested operation is invalid.
12017 The operation was canceled, usually because the handle on which the request was operating was closed before the operation completed.
12018 The type of handle supplied is incorrect for this operation.
12019 The requested operation cannot be carried out because the handle supplied is not in the correct state.
12020 The request cannot be made via a proxy.
12021 A required registry value could not be located.
12022 A required registry value was located but is an incorrect type or has an invalid value.
12023 Direct network access cannot be made at this time.
12024 An asynchronous request could not be made because a zero context value was supplied.
12026 The required operation could not be completed because one or more requests are pending.
12027 The format of the request is invalid.
12028 The requested item could not be located.
12029 The attempt to connect to the server failed.
12030 The connection with the server has been terminated.
12031 The connection with the server has been reset.
12032 The Win32 Internet function needs to redo the request.
12033 The request to the proxy was invalid.
12034 A user interface or other blocking operation has been requested.
12036 The request failed because the handle already exists.
12037 SSL certificate date that was received from the server is bad. The certificate is expired.
12038 SSL certificate common name (host name field) is incorrect—for example, if you entered www.server.com and the common name on the certificate says www.different.com.
12039 The application is moving from a non-SSL to an SSL connection because of a redirect.
12040 The application is moving from an SSL to an non-SSL connection because of a redirect.
12041 The content is not entirely secure. Some of the content being viewed may have come from unsecured servers.
12042 The application is posting and attempting to change multiple lines of text on a server that is not secure.
12043 The application is posting data to a sever that is not secure.
12044 The server is requesting client authentication.
12045 The function is unfamiliar with the Certificate Authority that generated the server's certificate.
12046 Client authorization is not set up on this computer.
12047 The application could not start an asynchronous thread.
12048 The function could not handle the redirection, because the scheme changed (for example, HTTP to FTP).
12049 Another thread has a password dialog in progress.
12053 The request requires a CD-ROM to be inserted in the CD-ROM drive to locate the resource requested.
12110 The requested operation cannot be made on the FTP session handle because an operation is already in progress.
12111 The FTP operation was not completed because the session was aborted.
12130 An error was detected while parsing data returned from the Gopher server.
12131 The request must be made for a file locator.
12132 An error was detected while receiving data from the Gopher server.
12133 The end of the data has been reached.
12134 The supplied locator is not valid.
12135 The type of the locator is not correct for this operation.
12136 The requested operation can only be made against a Gopher+ server, or with a locator that specifies a Gopher+ operation.
12137 The requested attribute could not be located.
12138 The locator type is unknown.
12150 The requested header could not be located.
12151 The server did not return any headers.
12152 The server response could not be parsed.
12153 The supplied header is invalid.
12154 The query request is invalid.
12155 The header could not be added because it already exists.
12156 The redirection failed because either the scheme changed (for example, HTTP to FTP) or all attempts made to redirect failed (default is five attempts).
12157 The application experienced an internal error loading the SSL libraries.
12158 The function was unable to cache the file.
12159 The required protocol stack is not loaded and the application cannot start WinSock.
12164 The Web site or server indicated is unreachable.
12163 The Internet connection has been lost.
12165 The designated proxy server cannot be reached.
12166 There was an error in the automatic proxy configuration script.
12167 The automatic proxy configuration script could not be downloaded.
12168 The redirection requires user confirmation.
12169 SSL certificate is invalid.
12170 SSL certificate was revoked.
12171 The function failed due to a security check.