Skip to main content

CURL Error Code

Player Network SDK network library uses the libcurl solution. In an error code returned by the SDK, a retcode of 4 indicates a network error. The thirdcode is required to determine the exact cause of the network error. CURL error codes are listed in the following table.

Error code nameError code and descriptionDescription
CURLE_OK0-
CURLE_UNSUPPORTED_PROTOCOL1-
CURLE_FAILED_INIT2-
CURLE_URL_MALFORMAT3-
CURLE_NOT_BUILT_IN4This error code was obsoleted in August 2007 for 7.17.0, and then reused in April 2011 for 7.21.5
CURLE_COULDNT_RESOLVE_PROXY5-
CURLE_COULDNT_RESOLVE_HOST6-
CURLE_COULDNT_CONNECT7-
CURLE_WEIRD_SERVER_REPLY8-
CURLE_REMOTE_ACCESS_DENIED9A service was denied by the server due to lack of access - when login fails this is not returned.
CURLE_FTP_ACCEPT_FAILED10This error code was obsoleted in April 2006 for 7.15.4, and then reused in Dec 2011 for 7.24.0
CURLE_FTP_WEIRD_PASS_REPLY11-
CURLE_FTP_ACCEPT_TIMEOUT12Timeout occurred accepting server [was obsoleted in August 2007 for 7.17.0, reused in Dec 2011 for 7.24.0]
CURLE_FTP_WEIRD_PASV_REPLY13-
CURLE_FTP_WEIRD_227_FORMAT14-
CURLE_FTP_CANT_GET_HOST15-
CURLE_HTTP216A problem in the http2 framing layer [This error code was obsoleted in August 2007 for 7.17.0, reused in July 2014 for 7.38.0]
CURLE_FTP_COULDNT_SET_TYPE17-
CURLE_PARTIAL_FILE18-
CURLE_FTP_COULDNT_RETR_FILE19-
CURLE_OBSOLETE2020NOT USED
CURLE_QUOTE_ERROR21Quote command failure
CURLE_HTTP_RETURNED_ERROR22-
CURLE_WRITE_ERROR23-
CURLE_OBSOLETE2424NOT USED
CURLE_UPLOAD_FAILED25Failed to upload "command"
CURLE_READ_ERROR26Could not open/read from file
CURLE_OUT_OF_MEMORY27CURLE_OUT_OF_MEMORY may indicate a conversion error instead of a memory allocation error if CURL_DOES_CONVERSIONS is defined
CURLE_OPERATION_TIMEDOUT28The timeout time was reached
CURLE_OBSOLETE2929NOT USED
CURLE_FTP_PORT_FAILED30FTP PORT operation failed
CURLE_FTP_COULDNT_USE_REST31The REST command failed
CURLE_OBSOLETE3232NOT USED
CURLE_RANGE_ERROR33RANGE "command" did not work
CURLE_HTTP_POST_ERROR34-
CURLE_SSL_CONNECT_ERROR35Error when connecting with SSL
CURLE_BAD_DOWNLOAD_RESUME36Could not resume download
CURLE_FILE_COULDNT_READ_FILE37-
CURLE_LDAP_CANNOT_BIND38-
CURLE_LDAP_SEARCH_FAILED39-
CURLE_OBSOLETE4040NOT USED
CURLE_FUNCTION_NOT_FOUND41NOT USED starting with 7.53.0
CURLE_ABORTED_BY_CALLBACK42-
CURLE_BAD_FUNCTION_ARGUMENT43-
44NOT USED
CURLE_INTERFACE_FAILED45CURLOPT_INTERFACE failed
CURLE_OBSOLETE4646NOT USED
CURLE_TOO_MANY_REDIRECTS47Catch endless redirect loops
CURLE_UNKNOWN_OPTION48User specified an unknown option
CURLE_TELNET_OPTION_SYNTAX49Malformed telnet option
CURLE_OBSOLETE5050NOT USED
CURLE_PEER_FAILED_VERIFICATION51Failed to verify certificate or fingerprint of peer
CURLE_GOT_NOTHING52When this is a specific error
CURLE_SSL_ENGINE_NOTFOUND53SSL crypto engine not found
CURLE_SSL_ENGINE_SETFAILED54Can not set SSL crypto engine as default
CURLE_SEND_ERROR55Failure in sending network data
CURLE_RECV_ERROR56Failure in receiving network data
CURLE_OBSOLETE5757NOT IN USE
CURLE_SSL_CERTPROBLEM58Problem with the local certificate
CURLE_SSL_CIPHER59Could not use specified cipher
CURLE_SSL_CACERT60Problem with the CA cert (path?)
CURLE_BAD_CONTENT_ENCODING61Unrecognized/bad encoding
CURLE_LDAP_INVALID_URL62Invalid LDAP URL
CURLE_FILESIZE_EXCEEDED63Maximum file size exceeded
CURLE_USE_SSL_FAILED64Requested FTP SSL level failed
CURLE_SEND_FAIL_REWIND65Sending the data requires a rewind that failed
CURLE_SSL_ENGINE_INITFAILED66Failed to initialize ENGINE
CURLE_LOGIN_DENIED67User, password or similar was not accepted and failed to login
CURLE_TFTP_NOTFOUND68File not found on server
CURLE_TFTP_PERM69Permission problem on server
CURLE_REMOTE_DISK_FULL70Out of disk space on server
CURLE_TFTP_ILLEGAL71Illegal TFTP operation
CURLE_TFTP_UNKNOWNID72Unknown transfer ID
CURLE_REMOTE_FILE_EXISTS73File already exists
CURLE_TFTP_NOSUCHUSER74No such user
CURLE_CONV_FAILED75Conversion failed
CURLE_CONV_REQD76Caller must register conversion callbacks using curl_easy_setopt options CURLOPT_CONV_FROM_NETWORK_FUNCTION, CURLOPT_CONV_TO_NETWORK_FUNCTION, and CURLOPT_CONV_FROM_UTF8_FUNCTION
CURLE_SSL_CACERT_BADFILE77Could not load CACERT file, missing or wrong format
CURLE_REMOTE_FILE_NOT_FOUND78Remote file not found
CURLE_SSH79Error from the SSH layer, somewhat generic so the error message will be of interest when this has happened
CURLE_SSL_SHUTDOWN_FAILED80Failed to shut down the SSL connection
CURLE_AGAIN81Socket is not ready for send/recv, wait till it is ready and try again (Added in 7.18.2)
CURLE_SSL_CRL_BADFILE82Could not load CRL file, missing or wrong format (Added in 7.19.0)
CURLE_SSL_ISSUER_ERROR83Issuer check failed. (Added in 7.19.0)
CURLE_FTP_PRET_FAILED84A PRET command failed
CURLE_RTSP_CSEQ_ERROR85Mismatch of RTSP CSeq numbers
CURLE_RTSP_SESSION_ERROR86Mismatch of RTSP Session Ids
CURLE_FTP_BAD_FILE_LIST87Unable to parse FTP file list
CURLE_CHUNK_FAILED88Chunk callback reported error
CURLE_NO_CONNECTION_AVAILABLE89No connection available, the session will be queued
CURLE_SSL_PINNEDPUBKEYNOTMATCH90Specified pinned public key did not match
CURLE_SSL_INVALIDCERTSTATUS91Invalid certificate status
CURLE_HTTP2_STREAM92Stream error in HTTP/2 framing layer
CURLE_RECURSIVE_API_CALL93an API function was called from inside a callback
CURL_LASTnever use!-