Tips & Tricks

Tips to know your HTTP ERROR-CODES

There are two sorts of errors. Application errors and HTTP errors. The HTTP errors are just to know that things went fine and should not be used for anything else.Basically A-5xx stand for Server Error and B-2xx stands for Success.

1- HTTP Status Code Definitions

2-FTP Status Code Definitions

a-The first digit denotes whether the response is good, bad or incomplete:

b-The second digit is a grouping digit and encodes the following information:



HTTP Status Code Definitions

1xx Informational
2xx Success
3xx Redirection
4xx Client Error
5xx Server Error
100 Continue
101 Switching Protocols
102 Processing
200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206 Partial Content
207 Multi-Status
208 Already Reported
226 IM Used
300 Multiple Choices
301 Moved Permanently
302 Found
303 See Other
304 Not Modified
305 Use Proxy
306 Switch Proxy
307 Temporary Redirect
308 Permanent Redirect
400 Bad Request
401 Unauthorized
402 Payment Required
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Request Entity Too Large
414 Request-URI Too Long
415 Unsupported Media Type
416 Requested Range Not Satisfiable
417 Expectation Failed
418 I’m a teapot
419 Authentication Timeout
420 Method Failure
420 Enhance Your Calm
422 Unprocessable Entity
423 Locked
424 Failed Dependency
424 Method Failure
425 Unordered Collection
426 Upgrade Required
428 Precondition Required
429 Too Many Requests
431 Request Header Fields Too Large
440 Login Timeout
444 No Response
449 Retry With
450 Blocked by Windows Parental Controls
451 Unavailable For Legal Reasons
451 Redirect
494 Request Header Too Large
495 Cert Error
496 No Cert
499 Client Closed Request
500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
505 HTTP Version Not Supported
506 Variant Also Negotiates
507 Insufficient Storage
508 Loop Detected
509 Bandwidth Limit Exceeded
510 Not Extended
511 Network Authentication Required
522 Connection timed out
523 Proxy Declined Request
524 A timeout occurred
598 Network read timeout error
599 Network connect timeout error


FTP Status Code Definitions

The first digit denotes whether the response is good, bad or incomplete:

1xx Positive Preliminary reply
2xx Positive Completion reply
3xx Positive Intermediate reply
4xx Transient Negative Completion reply
5xx Permanent Negative Completion reply
6xx Protected reply

The second digit is a grouping digit and encodes the following information:

x0x Syntax
x1x Information
x2x Connections
x3x Authentication and accounting
x4x Unspecified as of RFC 959.
x5x File system

100 The requested action is being initiated, expect another reply before proceeding with a new command.
110 Restart marker replay.
120 Service ready in nnn minutes.
125 Data connection already open; transfer starting.
150 File status okay; about to open data connection.
200 Series The requested action has been successfully completed.
202 Command not implemented, superfluous at this site.
211 System status, or system help reply.
212 Directory status.
213 File status.
214 Help message.
215 NAME system type.
220 Service ready for new user.
221 Service closing control connection.
225 Data connection open; no transfer in progress.
226 Closing data connection.
227 Entering Passive Mode (h1,h2,h3,h4,p1,p2).
228 Entering Long Passive Mode (long address, port).
229 Entering Extended Passive Mode (|||port|).
230 User logged in, proceed. Logged out if appropriate.
231 User logged out; service terminated.
232 Logout command noted, will complete when transfer done.
250 Requested file action okay, completed.
257 “PATHNAME” created.
300 The command has been accepted, but the requested action is on hold, pending receipt of further information.
331 User name okay, need password.
332 Need account for login.
350 Requested file action pending further information
400 The command was not accepted and the requested action did not take place, but the error condition is temporary and the action may be requested again.
421 Service not available, closing control connection. This may be a reply to any command if the service knows it must shut down.
425 Can’t open data connection.
426 Connection closed; transfer aborted.
430 Invalid username or password
434 Requested host unavailable.
450 Requested file action not taken.
451 Requested action aborted. Local error in processing.
452 Requested action not taken. Insufficient storage space in system.File unavailable (e.g., file busy).
500 Series Syntax error, command unrecognized and the requested action did not take place. 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 not implemented for that parameter.
530 Not logged in.
532 Need account for storing files.
550 Requested action not taken. File unavailable (e.g., file not found, no access).
551 Requested action aborted. Page type unknown.
552 Requested file action aborted. Exceeded storage allocation (for current directory or dataset).
553 Requested action not taken. File name not allowed.
600 Series Replies regarding confidentiality and integrity
631 Integrity protected reply.
632 Confidentiality and integrity protected reply.
633 Confidentiality protected reply.
10000 Series Common Winsock Error Codes
10054 Connection reset by peer. The connection was forcibly closed by the remote host.
10060 Cannot connect to remote server.
10061 Cannot connect to remote server. The connection is actively refused by the server.
10066 Directory not empty.
10068 Too many users, server is full.





91701 Cannot provide both a billing address and a billing address ID.¶
91702 Billing address ID is invalid.¶
91704 Customer ID is required.¶
91705 Customer ID is invalid.¶
91708 Cannot provide expiration_date if you are also providing expiration_month and expiration_year.¶
91718 Token is invalid.¶
91719 Credit card token is taken.¶
91720 Credit card token is too long.¶
91721 Token is not an allowed token.¶
91722 Payment method token is required.¶
81723 Cardholder name is too long.¶
81703 Credit card type is not accepted by this merchant account.¶
81718 Credit card number cannot be updated to an unsupported card type when it is associated to subscriptions.¶
81706 CVV is required.¶
81707 CVV must be 3 or 4 digits.¶
81709 Expiration date is required.¶
81710 Expiration date is invalid.¶
81711 Expiration date year is invalid.¶
81712 Expiration month is invalid.¶
81713 Expiration year is invalid.¶
81714 Credit card number is required.¶
81715 Credit card number is invalid.¶
81716 Credit card number must be 12-19 digits.¶
81717 Credit card number is not an accepted test number.¶
91723 Update Existing Token is invalid.¶
81724 Duplicate card exists¶
81725 Payment method conflict¶
91726 Venmo sdk payment method code card type is not accepted¶
91727 Invalid venmo sdk payment method code¶
91728 Invalid verification merchant account ID¶
91730 Verification not supported on this merchant account¶