-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy patherror_codes.json
More file actions
207 lines (207 loc) · 5.38 KB
/
error_codes.json
File metadata and controls
207 lines (207 loc) · 5.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
[
{
"code": 400,
"reason": "Bad Request",
"desc": "Your request is invalid"
},
{
"code": 401,
"reason": "Unauthorized",
"desc": "Your request lacks valid authentication credentials for the requested resource"
},
{
"code": 402,
"reason": "Payment Required",
"desc": "You need to pay to access this content"
},
{
"code": 403,
"reason": "Forbidden",
"desc": "You are not allowed to access this page"
},
{
"code": 404,
"reason": "Not Found",
"desc": "The page you requested does not exist"
},
{
"code": 405,
"reason": "Method Not Allowed",
"desc": "The target resource does not support this HTTP method"
},
{
"code": 406,
"reason": "Not Acceptable",
"desc": "Some \"Accept\" header you requested cannot be fulfilled"
},
{
"code": 407,
"reason": "Proxy Authentication Required",
"desc": "Your request lacks valid authentication credentials for the proxy"
},
{
"code": 408,
"reason": "Request Timeout",
"desc": "Your request was too slow"
},
{
"code": 409,
"reason": "Conflict",
"desc": "Your request conflicts with the current state of the target resource"
},
{
"code": 410,
"reason": "Gone",
"desc": "The page you requested was permanently removed"
},
{
"code": 411,
"reason": "Length Required",
"desc": "Your request is missing the \"Content-Length\" header"
},
{
"code": 412,
"reason": "Precondition Failed",
"desc": "Some condition you requested with your headers could not be fulfilled"
},
{
"code": 413,
"reason": "Content Too Large",
"desc": "You send more data than allowed"
},
{
"code": 414,
"reason": "URI Too Long",
"desc": "The URL is too long"
},
{
"code": 415,
"reason": "Unsupported Media Type",
"desc": "Your request payload uses an unsupported format, \"Content-Type\" or \"Content-Encoding\" headers"
},
{
"code": 416,
"reason": "Range Not Satisfiable",
"desc": "The \"Range\" header you sent makes no sense"
},
{
"code": 417,
"reason": "Expectation Failed",
"desc": "The expectation indicated by your \"Expect\" header cannot be met"
},
{
"code": 418,
"reason": "I'm a teapot",
"desc": "The server refuses the attempt to brew coffee with a teapot"
},
{
"code": 420,
"reason": "Enhance Your Calm",
"desc": "You are sending request way too fast, chill a bit"
},
{
"code": 421,
"reason": "Misdirected Request",
"desc": "The request was directed to a server that is not able to produce a response"
},
{
"code": 422,
"reason": "Unprocessable Content",
"desc": "Your request was well-formed but was unable to be followed due to semantic errors"
},
{
"code": 423,
"reason": "Locked",
"desc": "The resource you are trying to access is locked"
},
{
"code": 424,
"reason": "Failed Dependency",
"desc": "Your request failed due to failure of a previous request"
},
{
"code": 425,
"reason": "Too Early",
"desc": "The server is unwilling to risk processing a request that might be replayed"
},
{
"code": 426,
"reason": "Upgrade Required",
"desc": "The current protocol is not supported, please upgrade to a different protocol"
},
{
"code": 428,
"reason": "Precondition Required",
"desc": "Your request must be conditional"
},
{
"code": 429,
"reason": "Too Many Requests",
"desc": "You are sending requests too fast"
},
{
"code": 431,
"reason": "Request Header Fields Too Large",
"desc": "The header fields you send are too large"
},
{
"code": 451,
"reason": "Unavailable For Legal Reasons",
"desc": "You requested a resource that cannot legally be provided"
},
{
"code": 500,
"reason": "Internal Server Error",
"desc": "The server could not process your request"
},
{
"code": 501,
"reason": "Not Implemented",
"desc": "The resource does currently not support the requested functionality"
},
{
"code": 502,
"reason": "Bad Gateway",
"desc": "The proxy received an invalid response when requesting your resource"
},
{
"code": 503,
"reason": "Service Unavailable",
"desc": "The server is currently unable to serve your request, please try again later"
},
{
"code": 504,
"reason": "Gateway Timeout",
"desc": "The proxy encountered a timeout when requesting your resource"
},
{
"code": 505,
"reason": "HTTP Version Not Supported",
"desc": "The HTTP version you used for the request is not supported by the server"
},
{
"code": 506,
"reason": "Variant Also Negotiates",
"desc": "Internal server configuration error: the chosen variant is itself configured to engage in content negotiation, so is not a proper negotiation endpoint"
},
{
"code": 507,
"reason": "Insufficient Storage",
"desc": "The server has not enough free space to store this"
},
{
"code": 508,
"reason": "Loop Detected",
"desc": "The server detected an infinite loop while processing the request"
},
{
"code": 510,
"reason": "Not Extended",
"desc": "You requested an HTTP Extension that should be used to process the request, but the extension is not supported"
},
{
"code": 511,
"reason": "Network Authentication Required",
"desc": "You need to authenticate to gain network access"
}
]