-
Notifications
You must be signed in to change notification settings - Fork 11
/
errors.json
432 lines (432 loc) · 12.6 KB
/
errors.json
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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
{
"Internal": {
"description": "An internal server error with a proprietary message.",
"message": "Server error: {message}",
"http": 500,
"tags": [
"General"
]
},
"NotFound": {
"description": "To be used if the requested resource does not exist. Note: There are specialized errors for missing jobs (JobNotFound), files (FileNotFound), etc. Unsupported endpoints MAY send an 'FeatureUnsupported' (501) error.",
"message": "Resource not found.",
"http": 404,
"tags": [
"General"
]
},
"FeatureUnsupported": {
"description": "The back-end responds with this error whenever an endpoint is specified in the openEO API, but is not supported.",
"message": "Feature not supported.",
"http": 501,
"tags": [
"General"
]
},
"InfrastructureMaintenance": {
"description": "Service is currently not available as the infrastructure is currently undergoing maintenance work.",
"message": "Service is not available at the moment due to maintenance work. Please try again later or contact our support.",
"http": 503,
"tags": [
"General"
]
},
"InfrastructureBusy": {
"description": "Service is generally available, but the infrastructure can't handle it at the moment as too many requests are processed.",
"message": "Service is not available at the moment due to overloading. Please try again later or contact our support.",
"http": 503,
"tags": [
"General"
]
},
"UnsupportedApiVersion": {
"description": "The service doesn't support the openEO API version specified in the request URL. Clients should check well-known document for supported versions.",
"message": "The requested API version '{version}' is not supported.",
"http": 404,
"tags": [
"General"
]
},
"RequestTimeout": {
"description": "The request took too long and timed out.",
"message": "Request timed out.",
"http": 408,
"tags": [
"General",
"Data Processing"
]
},
"BudgetInvalid": {
"description": "The budget is too low as it is either smaller than or equal to 0 or below the costs.",
"message": "The specified budget is too low.",
"http": 400,
"tags": [
"Batch Jobs",
"Secondary Services",
"Data Processing"
]
},
"EstimateComplexity": {
"description": "The process is too complex to calculate an estimate, e.g. due to a UDF or other processes that are complex to estimate costs reliably.",
"message": "The process is too complex to calculate an estimate.",
"http": 500,
"tags": [
"Batch Jobs"
]
},
"NoDataForUpdate": {
"description": "For PATCH requests: No valid data specified at all.",
"message": "No data specified to be updated.",
"http": 400,
"tags": [
"Batch Jobs",
"Secondary Services"
]
},
"PropertyNotEditable": {
"description": "For PATCH requests: The specified parameter can't be updated. It is read-only.",
"message": "The specified property '{property}' is read-only.",
"http": 400,
"tags": [
"Batch Jobs",
"Secondary Services"
]
},
"CollectionNotFound": {
"description": "The requested collection does not exist.",
"message": "Collection '{identifier}' does not exist.",
"http": 404,
"tags": [
"EO Data Discovery"
]
},
"StorageFailure": {
"description": "Server couldn't store file(s) due to server-side reasons.",
"message": "Unable to store files due to a server error. Please try again later or contact our support.",
"http": 500,
"tags": [
"File Management",
"Batch Jobs"
]
},
"StorageQuotaExceeded": {
"description": "The storage quota has been exceeded by the user.",
"message": "Your storage quota has been exceeded.",
"http": 400,
"tags": [
"File Management",
"Batch Jobs"
]
},
"FileNotFound": {
"description": "The requested file does not exist.",
"message": "File '{file}' does not exist.",
"http": 404,
"tags": [
"File Management"
]
},
"FilePathInvalid": {
"description": "The specified path is invalid or not accessible. Path could contain invalid characters, point to an existing folder or a location outside of the user folder.",
"message": "File path is invalid: {reason}",
"http": 400,
"tags": [
"File Management"
]
},
"FileOperationUnsupported": {
"description": null,
"message": "The file operation is not supported for the specified path.",
"http": 400,
"tags": [
"File Management"
]
},
"FolderOperationUnsupported": {
"description": "The specified path is a folder and the operation is only supported for files.",
"message": "Operation is only supported for files, not folders.",
"http": 400,
"tags": [
"File Management"
]
},
"ContentTypeInvalid": {
"description": "The specified media (MIME) type used in the Content-Type header is not allowed.",
"message": "The media type is not supported. Allowed: {types}",
"http": 400,
"tags": [
"File Management",
"General"
]
},
"FileTypeInvalid": {
"description": "File format or file extension is not allowed.",
"message": "File format {type} not allowed. Allowed file formats: {types}",
"http": 400,
"tags": [
"File Management"
]
},
"FileSizeExceeded": {
"description": "File exceeds allowed maximum file size.",
"message": "File size it too large. Maximum file size: {size}",
"http": 400,
"tags": [
"File Management"
]
},
"FileContentInvalid": {
"description": "The content of the file is invalid.",
"message": "File content is invalid.",
"http": 400,
"tags": [
"File Management"
]
},
"FileLocked": {
"description": "The file is locked by a running job or another process.",
"message": "File '{file}' is locked by another process.",
"http": 400,
"tags": [
"File Management"
]
},
"ProcessGraphNotFound": {
"description": "The requested user-defined process does not exist. To be used for all endpoints starting with `/process_graphs`.",
"message": "User-defined process '{identifier}' does not exist.",
"http": 404,
"tags": [
"User-Defined Processes"
]
},
"ProcessInvalid": {
"description": "The process given is invalid, which ususlly means that the process metadata is invalid.",
"message": "Invalid process specified.",
"http": 400,
"tags": [
"User-Defined Processes",
"Batch Jobs",
"Secondary Services",
"Data Processing"
]
},
"ProcessGraphMissing": {
"description": "The process doesn't contain a process graph. For jobs, services, and sync. processing the parameter `process` must contain a `process_graph`.",
"message": "Invalid process specified. It doesn't contain a process graph.",
"http": 400,
"tags": [
"User-Defined Processes",
"Batch Jobs",
"Secondary Services",
"Data Processing"
]
},
"ProcessGraphInvalid": {
"description": "The process doesn't contain a valid process graph, which means it doesn't comply to the general structure / schema.",
"message": "Invalid process graph specified.",
"http": 400,
"tags": [
"User-Defined Processes",
"Batch Jobs",
"Secondary Services",
"Data Processing"
]
},
"PredefinedProcessExists": {
"description": "If a user wants to store a user-defined process with the id of a predefined process.",
"message": "A predefined process with the given identifier exists.",
"http": 400,
"tags": [
"User-Defined Processes"
]
},
"ProcessGraphComplexity": {
"description": "The process graph is too complex for synchronous processing and will likely time out. Please use a batch job instead.",
"message": "The process is too complex for for synchronous processing. Please use a batch job instead.",
"http": 400,
"tags": [
"Data Processing"
]
},
"ProcessUnsupported": {
"description": "A process (predefined or user-defined) with the specified identifier is not available. To be used when validating or executing process graphs.",
"message": "Process with identifier '{process}' is not available in namespace '{namespace}'.",
"http": 400,
"tags": [
"Data Processing"
]
},
"ProcessParameterUnsupported": {
"description": null,
"message": "Process '{process}' does not support parameter '{parameter}'.",
"http": 400,
"tags": [
"Data Processing"
]
},
"ProcessParameterInvalid": {
"description": null,
"message": "The value passed for parameter '{parameter}' in process '{process}' is invalid: {reason}",
"http": 400,
"tags": [
"Data Processing"
]
},
"ProcessParameterRequired": {
"description": null,
"message": "Process '{process}' parameter '{parameter}' is required.",
"http": 400,
"tags": [
"Data Processing"
]
},
"JobNotFound": {
"description": "The requested job does not exist.",
"message": "The batch job '{identifier}' does not exist.",
"http": 404,
"tags": [
"Batch Jobs"
]
},
"JobLocked": {
"description": "The job is currently locked due to a running batch computation and can't be modified meanwhile.",
"message": "Batch job is locked due to a queued or running batch computation.",
"http": 400,
"tags": [
"Batch Jobs"
]
},
"JobNotFinished": {
"description": null,
"message": "Batch job has not finished computing the results yet. Please try again later or contact our support.",
"http": 400,
"tags": [
"Batch Jobs"
]
},
"JobNotStarted": {
"description": "Job has not been queued or started yet or was canceled and not restarted by the user.",
"message": "Batch job must be started first.",
"http": 400,
"tags": [
"Batch Jobs"
]
},
"ResultLinkExpired": {
"description": "The signed URLs for batch job results have expired. Please send a request to `GET /jobs/{job_id}/results` to refresh the links.",
"message": "The link to the batch job result has expired. Please request the results again.",
"http": 410,
"tags": [
"Batch Jobs"
]
},
"PaymentRequired": {
"description": "The budget required to fulfil the request is insufficient.",
"message": "The budget required to fulfil the request is not sufficient. A payment is required first.",
"http": 402,
"tags": [
"Batch Jobs",
"Secondary Services"
]
},
"BillingPlanInvalid": {
"description": "The billing plan is not on the list of available plans.",
"message": "The billing plan is invalid.",
"http": 400,
"tags": [
"Batch Jobs",
"Secondary Services",
"Data Processing"
]
},
"BillingPlanMissing": {
"description": "No billing plan has been specified by the user and the billing plan can't be determined unambiguously.",
"message": "A billing plan must be specified.",
"http": 400,
"tags": [
"Batch Jobs",
"Secondary Services",
"Data Processing"
]
},
"AuthenticationRequired": {
"description": "The client did not provide any authentication details for a resource requiring authentication or the provided authentication details are not correct.",
"message": "Unauthorized.",
"http": 401,
"tags": [
"Account Management"
]
},
"AuthenticationSchemeInvalid": {
"description": "Invalid authentication scheme (e.g. Bearer).",
"message": "Authentication method not supported.",
"http": 403,
"tags": [
"Account Management"
]
},
"TokenInvalid": {
"description": null,
"message": "Authorization token has expired or is invalid. Please authenticate again.",
"http": 403,
"tags": [
"Account Management"
]
},
"CredentialsInvalid": {
"description": null,
"message": "Credentials are not correct.",
"http": 403,
"tags": [
"Account Management"
]
},
"PermissionsInsufficient": {
"description": "Forbidden. The client did provided correct authentication details, but the privileges/permissions of the provided credentials do not allow to request the resource.",
"message": "Forbidden. The permissions of the authenticated account do not allow to request the requested resource.",
"http": 403,
"tags": [
"Account Management"
]
},
"ServiceNotFound": {
"description": "The requested secondary service does not exist.",
"message": "Service '{identifier}' does not exist.",
"http": 404,
"tags": [
"Secondary Services"
]
},
"ServiceUnsupported": {
"description": null,
"message": "Service type '{type}' is not supported.",
"http": 400,
"tags": [
"Secondary Services"
]
},
"ServiceConfigUnsupported": {
"description": "Refers to the secondary service `configuration` object.",
"message": "Service parameter '{parameter}' is not supported.",
"http": 400,
"tags": [
"Secondary Services"
]
},
"ServiceConfigInvalid": {
"description": "Refers to the secondary service `configuration` object.",
"message": "The value passed for the service parameter '{parameter}' is invalid: {reason}",
"http": 400,
"tags": [
"Secondary Services"
]
},
"ServiceConfigRequired": {
"description": "Refers to the secondary service `configuration` object.",
"message": "Service parameter '{parameter}' is required.",
"http": 400,
"tags": [
"Secondary Services"
]
}
}