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 NumberGenerated by
Error < ZeroOperating System Error
ZeroNo Error
Error >= 100004D 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:

 

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

Open Transport Error Codes

 

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

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.

 

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

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×800CCC06 CONN_SEND
0×800CCC07 WOULD_BLOCK
0×800CCC08 INVALID_STATE
0×800CCC09 CONN_RECV
0×800CCC0A INCOMPLETE Message download incomplete.
0×800CCC0B BUSY Server or maildrop is busy.
0×800CCC0C NOT_INIT
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×800CCC19 TIMEOUT
0×800CCC1A SECURE_CONNECT_FAILED Unable to connect using SSL

WinSock Error Codes

 

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

SMTP RFC Values

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.

 

211System status, or system help reply
214Help 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
250Requested mail action okay, completed
251User not local; will forward to <forward-path>
354Start 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]
450Requested mail action not taken: mailbox unavailable [e.g., mailbox busy]
451Requested action aborted: local error in processing
452Requested action not taken: insufficient system storage
500Syntax error, command unrecognized [This may include errors such as command line
too long]
501Syntax error in parameters or arguments
502Command not implemented
503Bad sequence of commands
504Command parameter not implemented
550Requested action not taken: mailbox unavailable [e.g., mailbox not found, no access]
551User not local; please try <forward-path>
552Requested mail action aborted: exceeded storage allocation
553Requested action not taken: mailbox name not allowed [e.g., mailbox syntax incorrect]
554Transaction failed