Home > Article > Backend Development > CURL status code list_PHP tutorial
CURL status code list |
||
Status code |
Status reason |
Explanation |
0 |
Normal access |
|
1 |
Wrong protocol |
Unsupported protocol. This version of cURL does not support this protocol. |
2 |
Initialization code failed |
Initialization failed. |
3 |
URL format is incorrect |
The URL is malformed. The syntax is incorrect. |
4 |
Request protocol error |
|
5 |
Unable to resolve proxy |
Unable to resolve proxy. The given proxy host cannot be resolved. |
6 |
Unable to resolve host address |
Unable to resolve host. The given remote host cannot be resolved. |
7 |
Unable to connect to host |
Unable to connect to host. |
8 |
The remote server is unavailable |
FTP abnormal server response. cURL cannot parse the data sent by the server. |
9 |
Error accessing resource |
FTP access denied. The server refused to log in or was unable to obtain the specific resource or directory you were looking for. The most promising |
11 |
Wrong FTP password |
FTP abnormal PASS reply. cURL cannot parse the response sent to the PASS request. |
13 |
Wrong result |
FTP abnormal PASV response, cURL cannot parse the response sent to the PASV request. |
14 |
FTP responds to PASV command |
FTP abnormal 227 format. cURL cannot parse line 227 sent by the server. |
15 |
Internal failure |
FTP cannot connect to host. Unable to resolve host IP obtained in line 227. |
17 |
Set the transmission mode to binary |
FTP cannot be set to binary transfer. Unable to change transfer mode to binary. |
18 |
File transfer short or larger than expected |
Some files. Only part of the file was transferred. |
19 |
RETR command transmission completed |
FTP cannot download/access the given file, RETR (or similar) command failed. |
21 |
Command completed successfully |
FTP quote error. The quote command returns an error from the server. |
22 |
Return to normal |
HTTP cannot find the page. The requested URL was not found or another HTTP 400 or above error was returned. |
23 |
Data writing failed |
Write error. cURL cannot write data to the local file system or similar purposes. |
25 |
Unable to start upload |
FTP cannot STOR files. The server rejected the STOR operation for FTP upload. |
26 |
Callback error |
Read error. Various reading problems. |
27 |
Memory allocation request failed |
Insufficient memory. Memory allocation request failed. |
28 |
Access timeout |
The operation timed out. The specified timeout period condition is reached. |
30 |
FTP port error |
FTP PORT failed. PORT command failed. Not all FTP servers support the PORT command, please |
31 |
FTP Error |
REST commands cannot be used with FTP. REST command failed. This command is used to resume FTP transfers. |
33 |
Request not supported |
HTTP range error. range "command" doesn't work. |
34 |
An internal error occurred |
HTTP POST error. An internal POST request generated an error. |
35 |
SSL/TLS handshake failed |
SSL connection error. SSL handshake failed. |
36 |
Download cannot be restored |
FTP resume transfer is corrupted. An earlier aborted download cannot be resumed. |
37 |
File permission error |
File cannot be read. Unable to open file. Permissions issue? |
38 |
LDAP is not binding |
LDAP failed to bind. LDAP bind operation failed. |
39 |
LDAP search failed |
LDAP search failed. |
41 |
Function not found |
Function cannot be found. The necessary LDAP functionality cannot be found. |
42 |
Aborted callback |
Terminated by callback. The application tells cURL to terminate. |
43 |
Internal error |
Internal error. A function was called with an incorrect parameter. |
45 |
Interface error |
Interface error. The specified outgoing interface cannot be used. |
47 |
Too many redirects |
Too many redirects. cURL has reached the maximum limit set for follow redirects |
48 |
Option not recognized |
An unknown TELNET option was specified. |
49 |
TELNET format error |
Illegal telnet option. |
51 |
SSL certificate for remote server |
The peer's SSL certificate or SSH's MD5 fingerprint is not determined. |
52 |
The server returned no content |
No response from the server, which is considered an error here. |
53 |
Encryption engine not found |
SSL encryption engine not found. |
54 |
Failed to set default SSL encryption |
Unable to set SSL encryption engine as default. |
55 |
Unable to send network data |
Failed to send network data. |
56 |
Failed to receive network data |
Failed while receiving network data. |
57 |
||
58 |
Local client certificate |
There is a problem with the local certificate. |
59 |
Unable to use password |
The specified SSL cipher cannot be used. |
60 |
Credential cannot be verified |
The peer certificate cannot be verified by a known CA certificate. |
61 |
Unrecognized transfer encoding |
Unrecognized transfer encoding. |
62 |
Invalid LDAP URL |
Invalid LDAP URL. |
63 |
File exceeds maximum size |
Maximum file size exceeded. |
64 |
FTP failed |
The required SSL level for FTP failed. |
65 |
Rewind operation failed |
The rewind required to send this data failed. |
66 |
SSL engine failed |
Failed to initialize SSL engine. |
67 |
Login refused by server |
Username, password, or similar information not accepted, cURL login failed. |
68 |
File not found |
File not found on TFTP server. |
69 |
No permission |
There is a problem with the TFTP server permissions. |
70 |
Server disk space exceeded |
The TFTP server is out of disk space. |
71 |
Illegal TFTP operation |
Illegal TFTP operation. |
72 |
Unknown TFTP transfer ID |
Unknown TFTP transfer number (ID). |
73 |
File already exists |
File already exists (TFTP). |
74 |
Bad TFTP server |
No such user (TFTP). |
75 |
Character conversion failed |
Character conversion failed. |
76 |
Callbacks must be logged |
Requires character conversion functionality. |
77 |
CA certificate authority |
There is a problem reading the SSL certificate (path? access rights?). |
78 |
The resource referenced in the URL does not exist |
The resource referenced in the URL does not exist. |
79 |
Error occurred in SSH session |
An unknown error occurred during the SSH session. |
80 |
Unable to close SSL connection |
Failed to close SSL connection. |
81 |
Service not ready |
|
82 |
Unable to load CRL file |
CRL file cannot be loaded, missing or incorrectly formatted (added in version 7.19.0). |
83 |
Issuer check failed |
Issuance check failed (added in version 7.19.0). |