Usenet Error Codes

All 4D Internet Commands (with the exception of IT_ErrorText & IT_Version) return an integer value as the result of the function. This integer contains any error number which the command needs to convey back to the 4D database. If a command is successful, a zero will be returned. The source of an error number can usually be determined by the range of values which the error falls within. The following table provides an index to the most likely creator of an error in any given range:

Common Error:Subject: 480 authentication
> what is it and what does it mean?The news server requires you to provide an ‘account username’ and ‘password’.> what must I do?In the news server properties, there is a place for you to enter
the ‘account username’ and ‘password’ for the news server(s)

If the error is not listed below, you can usually type it here and locate the information

Error Number Generated by
Error < Zero Operating System Error
Zero No Error
Error >= 10000 4D Internet Commands Error

4D Internet Commands Error Codes

If an error occurs during any operation, a numeric value from the following table will be returned:


10000 user cancelled a dialog or progress.
10001 unimplemented Internet command.
10002 invalid array type.
10003 no more (TCP,SMTP,POP3, etc. ) references available.
10004 invalid reference.
10005 need a “Host” for use in the “SMTP_Send” command.
10006 need a “From” for use in the “SMTP_Send” command.
10007 need a recipient for use in the “SMTP_Send” command.
10008 already logged in.
10009 error trying to make a POP3 connection.
10010 error with POP3 USER.
10011 error with POP3 PASS.
10012 error with POP3 QUIT.
10013 error with POP3 STAT.
10014 error with POP3 LIST.
10015 error with POP3 UIDL.
10016 error with POP3 DELE.
10017 error with POP3 RSET.
10018 invalid message number.
10019 invalid character offset.
10020 invalid character length.
10021 error with POP3 RETR.
10022 field was not found in mail Header.
10023 no attachments found.
10024 error in processing BinHex.
10025 BinHex checksum error.
10026 Internet commands unavailable. Probably because MacTCP is not installed
10027 Connection no longer exists
10028 Exceeded 32k limit
10029 Error with POP3 NOOP
10030 POP3 session was closed by the server
10031 Error with POP3 APOP
10032 Unknown or invalid response.
10033 SMTP 421 – Service not available, closing transmission channel.
10034 SMTP 450 – Requested mail action not taken: mailbox unavailable.
10035 SMTP 451 – Requested action aborted: local error in processing.
10036 SMTP 452 – Requested action not taken: insufficient system storage.
10037 SMTP 500 – Syntax error, command unrecognized.
10038 SMTP 501 – Syntax error in parameters or arguments.
10039 SMTP 502 – Command not implemented.
10040 SMTP 503 – Bad sequence of commands.
10041 SMTP 504 – Command parameter not implemented.
10042 SMTP 550 – Requested action not taken: mailbox unavailable.
10043 SMTP 551 – User not local; please try <forward-path>.
10044 SMTP 552 – Requested mail action aborted: exceeded storage allocation.
10045 SMTP 553 – Requested action not taken: mailbox name not allowed.
10046 SMTP 554 – Transaction failed.
10047 FTP 421 – Service not available, closing control connection.
10048 FTP 425 – Can’t open data connection.
10049 FTP 426 – Connection closed; transfer aborted.
10050 FTP 450 – Requested file action not taken. File unavailable (e.g.,file busy).
10051 FTP 451 – Requested action aborted: local error in processing.
10052 FTP 452 – Requested action not taken. Insufficient storage space in system.
10053 FTP 500 – Syntax error, command unrecognized.
10054 FTP 501 – Syntax error in parameters or arguments.
10055 FTP 502 – Command not implemented.
10056 FTP 503 – Bad sequence of commands.
10057 FTP 504 – Command not implemented for that parameter.
10058 FTP 530 – Not logged in.
10059 FTP 532 – Need account for storing files.
10060 FTP 550 – Requested action not taken. File unavailable (e.g., file not found, no access).
10061 FTP 551 – Requested action aborted: page type unknown.
10062 FTP 552 – Requested file action aborted. Exceeded storage allocation (for current directory
or dataset).
10063 FTP 553 – Requested action not taken. File name not allowed.
10064 No response has been received within the given timeout period.
10065 Not an FTP file.
10066 Error in processing Base64.
10067 Error in processing AppleSingle.
10068 Error in processing Quoted-Printable.
10069 FTP session was closed by the server.
10070 Not an FTP directory.
10071 TCP session was closed by the server
10072 Invalid encode kind
10073 Invalid decode kind
10074 An asynchronous DNR call did not complete
10075 An asynchronous OpenTransport call did not complete
10076 OpenTransport bind failed
10077 OpenTransport connect failed
10078 Maximum MacTCP streams reached
10079 Error in processing uuencode
10080 Cannot load ICMP library
10081 Error in processing MacBinary
10082 MacBinary checksum error
10083 Could not open a file
10084 No FTP information received
10085 Unknown FTP information received
10086 Proxy connection failed
10087 Standard file I/O error
10088 FTP reentrant error
10089 SLI.DLL is not loaded
10091 Error trying to make an IMAP connection
10092 A maibox is not selected
10093 Invalid message part
10094 Error with IMAP LOGIN
10095 Error with IMAP LOGOUT
10096 Error with IMAP CAPABILITY
10097 Error with IMAP SELECT
10098 Error with IMAP FETCH
10099 Error with IMAP PARTIAL
10100 Error with IMAP STORE
10101 Error with IMAP EXPUNGE
10102 Error with IMAP SEARCH
10103 Error with IMAP COPY
10104 Error with IMAP CREATE
10105 Error with IMAP DELETE
10106 Error with IMAP RENAME
10107 Error with IMAP SUBSCRIBE
10108 Error with IMAP UNSUBSCRIBE
10109 Error with IMAP LIST
10110 Error with IMAP LSUB
10111 Error with IMAP STATUS
10112 Error with IMAP CLOSE

Open Transport Error Codes


-3211 Open Transport Out of Memory
-3201 Open Transport Not Found
-3216 Open Transport duplicate found
-3150 A Bad address was specified
-3151 A Bad option was specified
-3152 Missing access permission
-3153 Bad provider reference
-3154 No address was specified
-3155 Call issued in wrong state
-3156 Sequence specified does not exist
-3157 A system error occurred
-3158 An event occurred – call Look()
-3159 An illegal amount of data was specified
-3160 Passed buffer not big enough
-3161 Provider is flow-controlled
-3162 No data available for reading
-3163 No disconnect indication available
-3164 No Unit Data Error indication available
-3165 A Bad flag value was supplied
-3166 No orderly release indication available
-3167 Command is not supported
-3168 State is changing – try again later
-3169 Bad structure type requested for OTAlloc
-3170 A bad endpoint name was supplied
-3171 A Bind to an in-use addr with qlen > 0
-3172 Address requested is already in use
-3173 Accept failed because of pending listen
-3174 Tried to accept on incompatible endpoint
-3175 kOTResQLenErr
-3176 kOTResAddressErr
-3177 kOTQFullErr
-3178 An unspecified provider error occurred
-3179 A synchronous call at interrupt time
-3180 The command was cancelled
-3200 Permission denied
-3201 No such file or directory
-3202 No such resource
-3203 Interrupted system service
-3204 I/O error
-3205 No such device or address
-3208 Bad file number
-3210 Try operation again later
-3211 Not enough space
-3212 Permission denied
-3213 Bad address
-3215 Device or resource busy
-3216 File exists
-3218 No such device
-3221 Invalid argument
-3224 Not a character device
-3231 Broken pipe
-3233 Message size too large for STREAM
-3234 Call would block, so was aborted
-3234 or a deadlock would occur
-3236 kEALREADYErr
-3237 Socket operation on non-socket
-3238 Destination address required
-3239 Message too long
-3240 Protocol wrong type for socket
-3241 Protocol not available
-3242 Protocol not supported
-3243 Socket type not supported
-3244 Operation not supported on socket
-3247 Address already in use
-3248 Can’t assign requested address
-3249 Network is down
-3250 Network is unreachable
-3251 Network dropped connection on reset
-3252 Software caused connection to abort
-3253 Connection reset by peer
-3254 No buffer space available
-3255 Socket is already connected
-3256 Socket is not connected
-3257 Can’t send after socket shutdown
-3258 Too many references: can’t splice
-3259 Connection timed out
-3260 Connection refused
-3263 Host is down
-3264 No route to host
-3269 kEPROTOErr
-3270 kETIMEErr
-3271 kENOSRErr
-3272 kEBADMSGErr
-3273 kECANCELErr
-3274 kENOSTRErr
-3275 kENODATAErr
-3277 kESRCHErr
-3278 kENOMSGErr
-3279 kOTClientNotInittedErr
-3280 kOTPortHasDiedErr
-3281 kOTPortWasEjectedErr
-3282 kOTBadConfigurationErr
-3283 kOTConfigurationChangedErr
-3284 kOTUserRequestedErr
-3285 kOTPortLostConnection

MacTCP & Miscellaneous Error Codes

Compatibility note: Some of these error codes are no longer useful since MacTCP is no longer supported starting from 4D Internet Commands version 6.8.1.


-33 Unable to write to the disk. The File Directory is full.
-34 Unable to write to the disk. The disk is full.
-35 No such volume.
-36 I/O error.
-37 Bad file name or volume name.
-38 File is not open for reading or writing.
-39 Unable to read from the file. The end of file was reached.
-42 Unable to continue because too many files are open.
-43 The file cannot be found.
-44 The volume is locked at the hardware level.
-45 The file is locked.
-46 The volume is locked at the software level.
-47 One or more files are already open by another application.
-48 A file with this name already exists.
-49 File already open with write permission.
-54 Permissions error on opened file.
-57 Not a Macintosh volume.
-59 An error occured while trying to rename the file.
-61 Write permissions error.
-108 Insufficient amount of memory.
-120 Directory not found.
-23000 Unable to initialize the local network handler.
-23001 The manually set address is configured improperly.
-23002 A configuration resource is missing.
-23003 Not enough room in the application heap to load MacTCP.
-23004 Error in getting an address from a server or the address is already in use by another
-23005 A TCPClose command was already issued so there is no more data to send on this
-23006 The total amount of data described by the WDS was either 0 or greater than 65,535 bytes.
-23007 The TCP or UDP stream already has an open connection.
-23008 This TCP stream has no open connection.
-23009 Maximum TCP or UDP streams are already open.
-23010 The specified TCP or UDP stream is not open.
-23011 An open stream is already using this receive buffer area.
-23012 The TCP connection was broken.
-23013 The receive buffer area pointer is 0.
-23014 Invalid RDS or WDS buffers.
-23015 The connection came halfway up and then failed.
-23016 The specified command action was not completed in the specified time period.
-23017 A stream is already open using this local UDP port or a TCP connection already exists
between this local IP address and TCP port, and the specified remote IP address and TCP
-23032 The packet is too large to send without fragmenting and the Don’t Fragment flag is set.
-23033 The destination host is not responding to address resolution requests.
-23035 The icmp echo packet was not responded to in the indicated timeout period.
-23036 Insufficient internal driver buffers available to fragment this packet on send.
-23037 No gateway available to manage routing of packets to off-network destinations.
-23041 The hostName field had a syntax error. The address was given in dot notation (that is,
W.X.Y.Z) and did not conform to the syntax for an IP address.
-23042 The name specified cannot be found in the cache. The domain name resolver will now
query the domain name server and return the answer in the call-back procedure.
-23043 No result procedure is passed to the address translation call when the resolver must be
used to find the address.
-23044 No name server can be found for the specified name string.
-23045 This domain name does not exist.
-23046 None of the known name servers are responding.
-23047 The domain name server has returned an error.
-23048 Not enough memory is available to issue the needed DNR query or to build the DNR

Outlook Express error codes

0×800CCC00 LOAD_SICILY_FAILED Authentication did not load.
0×800CCC01 INVALID_CERT_CN Invalid certificate content.
0×800CCC02 INVALID_CERT_DATE Invalid certificate date.
0×800CCC03 ALREADY_CONNECTED User already connected.
0×800CCC04 CONN
0×800CCC05 NOT_CONNECTED Not connected to server.
0×800CCC0A INCOMPLETE Message download incomplete.
0×800CCC0B BUSY Server or maildrop is busy.
0×800CCC0D CANT_FIND_HOST Cannot locate server.
0×800CCC0E FAILED_TO_CONNECT Cannot connect to server.
0×800CCC0F CONNECTION_DROPPED Connection closed.
0×800CCC10 INVALID_ADDRESS Address not known on server.
0×800CCC11 INVALID_ADDRESS_LIST Mailing list not known on server.
0×800CCC12 SOCKET_READ_ERROR Unable to send Winsock request.
0×800CCC13 SOCKET_WRITE_ERROR Unable to read Winsock reply.
0×800CCC14 SOCKET_INIT_ERROR Unable to initialize Winsock.
0×800CCC15 SOCKET_CONNECT_ERROR Unable to open Windows Socket.
0×800CCC16 INVALID_ACCOUNT User account not recognized.
0×800CCC17 USER_CANCEL User canceled operation.
0×800CCC18 SICILY_LOGON_FAILED Logon attempt failed.
0×800CCC1A SECURE_CONNECT_FAILED Unable to connect using SSL

WinSock Error Codes


-10004 Blocking call cancelled
-10013 Permission denied
-10014 Bad address
-10022 Invalid argument
-10024 No more sockets available
-10035 Non-blocking socket would block
-10036 Illegal WinSock function invoked while a blocking function is in progress
-10037 An attempt was made to cancel an asynchronous operation that has already completed
-10038 Specified socket descriptor is not valid for this application
-10039 Destination address was required but none was supplied to the function
-10040 Datagram too large for buffer
-10041 Specified protocol does not match the other parameters in the call
-10042 Protocol option is unknown or invalid
-10043 Specified protocol is not supported by the Windows Sockets implementation
-10044 Specified socket type is not supported by the specified address family
-10045 Socket does not support the specified operation
-10046 Protocol family not supported
-10047 Specified address family is not supported by the Windows Sockets implementation or
cannot be used with the indicated socket
-10048 Specified address is already in use
-10049 Specified address is not available from the local machine
-10050 Problem with the network subsystem
-10051 Network cannot be reached from this host at this time
-10052 Connection was dropped and must be reset
-10053 Connection was aborted because of a timeout or other error condition
-10054 Connection was reset by the remote host
-10055 Windows Sockets implementation is out of buffer space or the space provided in an API
call by the application was too small to hold the requested information
-10056 Specified socket is already connected
-10057 Specified socket is not connected
-10058 Socket has had the requested functionality shut down
-10060 Connection attempt timed out before the connection could be established
-10061 Connection attempt was forcefully rejected
-10091 Network subsystem is not yet ready for communication
-10092 Windows Sockets DLL does not support the requested Winsock protocol version
-10093 Windows Sockets not initialized
-11001 Requested database information does not exist; as confirmed by an authoritative host
-11002 Requested information was not found but the answer was not authoritative
-11003 Non-recoverable error occurred
-11004 Name supplied was valid but no information of the requested type is in the database


The following items are not error codes returned by any of the external commands. These are response codes which the SMTP protocol has defined to communicate various states during client-server communication. Developers may find this list useful if they are writing their own mail communication procedures using low-level TCP commands.


211 System status, or system help reply
214 Help message [Information on how to use the receiver or the meaning of a particular
non-standard command; this reply is useful only to the human user]
220 <domain> Service ready
221 <domain> Service closing transmission channel
250 Requested mail action okay, completed
251 User not local; will forward to <forward-path>
354 Start mail input; end with <CRLF>.<CRLF>
421 <domain> Service not available, closing transmission channel [This may be a reply to
any command if the service knows it must shut down]
450 Requested mail action not taken: mailbox unavailable [e.g., mailbox busy]
451 Requested action aborted: local error in processing
452 Requested action not taken: insufficient system storage
500 Syntax error, command unrecognized [This may include errors such as command line
too long]
501 Syntax error in parameters or arguments
502 Command not implemented
503 Bad sequence of commands
504 Command parameter not implemented
550 Requested action not taken: mailbox unavailable [e.g., mailbox not found, no access]
551 User not local; please try <forward-path>
552 Requested mail action aborted: exceeded storage allocation
553 Requested action not taken: mailbox name not allowed [e.g., mailbox syntax incorrect]
554 Transaction failed