hcloud-sdk 22.53.0 → 22.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,1866 +6,2239 @@ exports.ErrorCodes = [
6
6
  {
7
7
  code: "000.000.0001",
8
8
  error: "rate.limit.reached",
9
- message: "Rate limit of 110 calls in 10s reached - blocked for 10s"
9
+ message: "Rate limit of 110 calls in 10s reached - blocked for 10s",
10
+ shortMessage: "Rate limit reached"
10
11
  },
11
12
  {
12
13
  code: "001.000.0002",
13
14
  error: "internal.server.error",
14
- message: "Specific message describing the problem"
15
+ message: "Specific message describing the problem",
16
+ shortMessage: "Internal server error"
15
17
  },
16
18
  {
17
19
  code: "001.000.0003",
18
20
  error: "invalid.parameter",
19
- message: "Failed to validate 'type' parameter 'paramKey' - specificMessage"
21
+ message: "Failed to validate 'type' parameter 'paramKey' - specificMessage",
22
+ shortMessage: "Invalid parameter"
20
23
  },
21
24
  {
22
25
  code: "001.000.0004",
23
26
  error: "invalid.body",
24
- message: "Detailed message"
27
+ message: "Detailed message",
28
+ shortMessage: "Invalid request body"
25
29
  },
26
30
  {
27
31
  code: "001.000.0005",
28
32
  error: "payload.too.large",
29
- message: "Payload sent is too large. Maximum is {{maxSize}}"
33
+ message: "Payload sent is too large. Maximum is {{maxSize}}",
34
+ shortMessage: "Payload too large"
30
35
  },
31
36
  {
32
37
  code: "001.000.0006",
33
38
  error: "not.implemented",
34
- message: "Feature not implemented"
39
+ message: "Feature not implemented",
40
+ shortMessage: "Feature not implemented"
35
41
  },
36
42
  {
37
43
  code: "001.000.0007",
38
44
  error: "empty.update",
39
- message: "Update with no changes attempted"
45
+ message: "Update with no changes attempted",
46
+ shortMessage: "Update contains no changes"
40
47
  },
41
48
  {
42
49
  code: "001.000.0008",
43
50
  error: "unsupported",
44
- message: "Unsupported: {{message}}"
51
+ message: "Unsupported: {{message}}",
52
+ shortMessage: "Unsupported operation"
45
53
  },
46
54
  {
47
55
  code: "001.001.0001",
48
56
  error: "unauthorized",
49
- message: "You're not authorized"
57
+ message: "You're not authorized",
58
+ shortMessage: "Not authorized"
50
59
  },
51
60
  {
52
61
  code: "001.001.0002",
53
62
  error: "missing.auth.token",
54
- message: "Expected an authentication token that has not been provided"
63
+ message: "Expected an authentication token that has not been provided",
64
+ shortMessage: "Missing authentication token"
55
65
  },
56
66
  {
57
67
  code: "001.001.0003",
58
68
  error: "wrong.auth.token",
59
- message: "Your authentication token is invalid"
69
+ message: "Your authentication token is invalid",
70
+ shortMessage: "Invalid authentication token"
60
71
  },
61
72
  {
62
73
  code: "001.001.0004",
63
74
  error: "insufficient.rights",
64
- message: "You have not enough rights to access/manipulate this resource"
75
+ message: "You have not enough rights to access/manipulate this resource",
76
+ shortMessage: "Insufficient rights"
65
77
  },
66
78
  {
67
79
  code: "001.001.0005",
68
80
  error: "session.expired",
69
- message: "Your session expired"
81
+ message: "Your session expired",
82
+ shortMessage: "Session expired"
70
83
  },
71
84
  {
72
85
  code: "001.001.0006",
73
86
  error: "token.expired",
74
- message: "Your token expired"
87
+ message: "Your token expired",
88
+ shortMessage: "Token expired"
75
89
  },
76
90
  {
77
91
  code: "001.001.0007",
78
92
  error: "basic.auth.disabled.2fa",
79
- message: "Basic Auth has been disabled as 2FA is enabled for this account"
93
+ message: "Basic Auth has been disabled as 2FA is enabled for this account",
94
+ shortMessage: "Basic auth disabled due to 2FA"
80
95
  },
81
96
  {
82
97
  code: "001.001.0008",
83
98
  error: "oidc.provider.not.found",
84
- message: "OpenID Connect provider not found. List of possible providers available in the public config"
99
+ message: "OpenID Connect provider not found. List of possible providers available in the public config",
100
+ shortMessage: "OpenID Connect provider not found"
85
101
  },
86
102
  {
87
103
  code: "001.001.0009",
88
104
  error: "oidc.provider.external.error",
89
- message: "OpenID Connect provider had an error"
105
+ message: "OpenID Connect provider had an error",
106
+ shortMessage: "OpenID Connect provider error"
90
107
  },
91
108
  {
92
109
  code: "001.001.0010",
93
110
  error: "oidc.provider.endpoint.missing",
94
- message: "Unable to use the discovery document to obtain the necessary endpoints. The provider may be unavailable"
111
+ message: "Unable to use the discovery document to obtain the necessary endpoints. The provider may be unavailable",
112
+ shortMessage: "OpenID Connect provider endpoints unavailable"
95
113
  },
96
114
  {
97
115
  code: "001.001.0011",
98
116
  error: "invalid.login.state",
99
- message: "The RelayState sent by the SAML IdP is invalid."
117
+ message: "The RelayState sent by the SAML IdP is invalid.",
118
+ shortMessage: "Invalid SAML login state"
100
119
  },
101
120
  {
102
121
  code: "001.001.0012",
103
122
  error: "login.state.not.found",
104
- message: "The login state has expired. Login states only persist for 10 minutes. Please try again."
123
+ message: "The login state has expired. Login states only persist for 10 minutes. Please try again.",
124
+ shortMessage: "Login state expired"
105
125
  },
106
126
  {
107
127
  code: "001.001.0013",
108
128
  error: "email.assertion.missing",
109
- message: "The response from the SAML IdP is missing an email assertion."
129
+ message: "The response from the SAML IdP is missing an email assertion.",
130
+ shortMessage: "SAML email assertion missing"
110
131
  },
111
132
  {
112
133
  code: "001.001.0014",
113
134
  error: "invalid.scope",
114
- message: "Invalid scope(s) provided."
135
+ message: "Invalid scope(s) provided.",
136
+ shortMessage: "Invalid scope"
115
137
  },
116
138
  {
117
139
  code: "001.002.0001",
118
140
  error: "organization.member.not.found",
119
- message: "User is not member of the organization"
141
+ message: "User is not member of the organization",
142
+ shortMessage: "Organization member not found"
120
143
  },
121
144
  {
122
145
  code: "001.002.0002",
123
146
  error: "organization.member.already.exists",
124
- message: "User is already part of the organization"
147
+ message: "User is already part of the organization",
148
+ shortMessage: "User already in organization"
125
149
  },
126
150
  {
127
151
  code: "001.003.0001",
128
152
  error: "invitation.already.sent",
129
- message: "An invitation to this user has already been sent."
153
+ message: "An invitation to this user has already been sent.",
154
+ shortMessage: "Invitation already sent"
130
155
  },
131
156
  {
132
157
  code: "001.003.0002",
133
158
  error: "invitation.not.found",
134
- message: "The specified invitation does not exist."
159
+ message: "The specified invitation does not exist.",
160
+ shortMessage: "Invitation not found"
135
161
  },
136
162
  {
137
163
  code: "001.003.0003",
138
164
  error: "invitation.already.responded",
139
- message: "The invitation has already been responded to."
165
+ message: "The invitation has already been responded to.",
166
+ shortMessage: "Invitation already responded to"
140
167
  },
141
168
  {
142
169
  code: "001.003.0004",
143
170
  error: "invitation.resend.limit.exceeded",
144
- message: "Too many resend-invitation-emails sent. Try again later."
171
+ message: "Too many resend-invitation-emails sent. Try again later.",
172
+ shortMessage: "Invitation resend limit exceeded"
145
173
  },
146
174
  {
147
175
  code: "001.004.0001",
148
176
  error: "pat.not.found",
149
- message: "PAT does not exist"
177
+ message: "PAT does not exist",
178
+ shortMessage: "Personal access token not found"
150
179
  },
151
180
  {
152
181
  code: "001.004.0002",
153
182
  error: "invalid.pat.expiration.date",
154
- message: "Expiration date must lie ahead at least one day"
183
+ message: "Expiration date must lie ahead at least one day",
184
+ shortMessage: "Invalid personal access token expiration date"
155
185
  },
156
186
  {
157
187
  code: "001.004.0003",
158
188
  error: "pat.expired",
159
- message: "The personal access token used for authentication has expired."
189
+ message: "The personal access token used for authentication has expired.",
190
+ shortMessage: "Personal access token expired"
160
191
  },
161
192
  {
162
193
  code: "001.004.0004",
163
194
  error: "pat.reserved.scope",
164
- message: "The personal access token contains a reserved scope."
195
+ message: "The personal access token contains a reserved scope.",
196
+ shortMessage: "Personal access token contains reserved scope"
165
197
  },
166
198
  {
167
199
  code: "001.005.0001",
168
200
  error: "user.protected",
169
- message: "This resource is protected"
201
+ message: "This resource is protected",
202
+ shortMessage: "User is protected"
170
203
  },
171
204
  {
172
205
  code: "001.005.0002",
173
206
  error: "old.password.mismatch",
174
- message: "The provided old password does not match the current one."
207
+ message: "The provided old password does not match the current one.",
208
+ shortMessage: "Old password does not match"
175
209
  },
176
210
  {
177
211
  code: "001.005.0003",
178
212
  error: "invalid.reset.nonce",
179
- message: "The provided nonce does not match the expected one."
213
+ message: "The provided nonce does not match the expected one.",
214
+ shortMessage: "Invalid password reset nonce"
180
215
  },
181
216
  {
182
217
  code: "001.005.0004",
183
218
  error: "user.email.not.allowed",
184
- message: "User's email is not allowed in helmut cloud"
219
+ message: "User's email is not allowed in helmut cloud",
220
+ shortMessage: "User email not allowed"
185
221
  },
186
222
  {
187
223
  code: "001.005.0005",
188
224
  error: "user.not.found",
189
- message: "User has no helmut cloud account"
225
+ message: "User has no helmut cloud account",
226
+ shortMessage: "User not found"
190
227
  },
191
228
  {
192
229
  code: "001.005.0006",
193
230
  error: "user.account.not.active",
194
- message: "The user account of given user has not been activated yet"
231
+ message: "The user account of given user has not been activated yet",
232
+ shortMessage: "User account not activated"
195
233
  },
196
234
  {
197
235
  code: "001.005.0007",
198
236
  error: "invalid.guest.hmac",
199
- message: "The HMAC supplied is incorrect. The email has been tampered with."
237
+ message: "The HMAC supplied is incorrect. The email has been tampered with.",
238
+ shortMessage: "Invalid guest HMAC"
200
239
  },
201
240
  {
202
241
  code: "001.006.0001",
203
242
  error: "oauthApp.already.exists",
204
- message: "OAuth app with given name already exists"
243
+ message: "OAuth app with given name already exists",
244
+ shortMessage: "OAuth app already exists"
205
245
  },
206
246
  {
207
247
  code: "001.006.0002",
208
248
  error: "oAuthApp.not.found",
209
- message: "OAuthApp does not exist"
249
+ message: "OAuthApp does not exist",
250
+ shortMessage: "OAuth app not found"
210
251
  },
211
252
  {
212
253
  code: "001.006.0003",
213
254
  error: "missing.oAuthApp.pat",
214
- message: "This OAuthApp does not have a PAT. A Pat can be created via OAuth"
255
+ message: "This OAuthApp does not have a PAT. A Pat can be created via OAuth",
256
+ shortMessage: "OAuth app has no personal access token"
215
257
  },
216
258
  {
217
259
  code: "001.006.0004",
218
260
  error: "expired.oAuth.code",
219
- message: "The provided OAuth code has already expired"
261
+ message: "The provided OAuth code has already expired",
262
+ shortMessage: "OAuth code expired"
220
263
  },
221
264
  {
222
265
  code: "001.006.0005",
223
266
  error: "oAuth.code.not.found",
224
- message: "The provided oauth code does not exist"
267
+ message: "The provided oauth code does not exist",
268
+ shortMessage: "OAuth code not found"
225
269
  },
226
270
  {
227
271
  code: "001.006.0006",
228
272
  error: "oAuth.refresh.token.not.found",
229
- message: "The provided oauth refresh token does not exist"
273
+ message: "The provided oauth refresh token does not exist",
274
+ shortMessage: "OAuth refresh token not found"
230
275
  },
231
276
  {
232
277
  code: "001.006.0007",
233
278
  error: "invalid.oAuthApp.content.type",
234
- message: "Only 'application/json' and 'application/x-www-form-urlencoded' content types are supported for oauth requests."
279
+ message: "Only 'application/json' and 'application/x-www-form-urlencoded' content types are supported for oauth requests.",
280
+ shortMessage: "Unsupported OAuth content type"
235
281
  },
236
282
  {
237
283
  code: "001.006.0008",
238
284
  error: "missing.oAuth.query",
239
- message: "OAuth missing query parameter: 'queryParameterName'"
285
+ message: "OAuth missing query parameter: 'queryParameterName'",
286
+ shortMessage: "Missing OAuth query parameter"
240
287
  },
241
288
  {
242
289
  code: "001.006.0009",
243
290
  error: "oAuth.secret.not.found",
244
- message: "The provided oauth secret does not exist"
291
+ message: "The provided oauth secret does not exist",
292
+ shortMessage: "OAuth secret not found"
245
293
  },
246
294
  {
247
295
  code: "001.006.0010",
248
296
  error: "oAuthApp.secret.not.found",
249
- message: "OAuthApp secret with uuid 'uuid' does not exist"
297
+ message: "OAuthApp secret with uuid 'uuid' does not exist",
298
+ shortMessage: "OAuth app secret not found"
250
299
  },
251
300
  {
252
301
  code: "001.006.0011",
253
302
  error: "oauth.invalid.redirect.uri",
254
- message: "The redirect_uri provided is either missing or failed to be validated."
303
+ message: "The redirect_uri provided is either missing or failed to be validated.",
304
+ shortMessage: "Invalid OAuth redirect URI"
255
305
  },
256
306
  {
257
307
  code: "001.006.0012",
258
308
  error: "oauth.secret.already.exists",
259
- message: "OAuth app secret already exists."
309
+ message: "OAuth app secret already exists.",
310
+ shortMessage: "OAuth app secret already exists"
260
311
  },
261
312
  {
262
313
  code: "001.006.0013",
263
314
  error: "consent.not.given",
264
- message: "The user has not consented to the specified scopes"
315
+ message: "The user has not consented to the specified scopes",
316
+ shortMessage: "Consent not given"
265
317
  },
266
318
  {
267
319
  code: "001.007.0001",
268
320
  error: "organization.not.found",
269
- message: "Organization not found"
321
+ message: "Organization not found",
322
+ shortMessage: "Organization not found"
270
323
  },
271
324
  {
272
325
  code: "001.007.0002",
273
326
  error: "organization.already.exists",
274
- message: "Organization with given name already exists"
327
+ message: "Organization with given name already exists",
328
+ shortMessage: "Organization already exists"
275
329
  },
276
330
  {
277
331
  code: "001.007.0003",
278
332
  error: "organization.must.have.owner",
279
- message: "The organization must have at least one owner. To remove the current owner from the organization, first assign another member as owner."
333
+ message: "The organization must have at least one owner. To remove the current owner from the organization, first assign another member as owner.",
334
+ shortMessage: "Organization must have an owner"
280
335
  },
281
336
  {
282
337
  code: "001.007.0004",
283
338
  error: "organization.insufficient.role",
284
- message: "Your role does not have the required permission"
339
+ message: "Your role does not have the required permission",
340
+ shortMessage: "Insufficient organization role"
285
341
  },
286
342
  {
287
343
  code: "001.007.0005",
288
344
  error: "operation.disabled.for.user.organization",
289
- message: "This operation is disabled for user organizations"
345
+ message: "This operation is disabled for user organizations",
346
+ shortMessage: "Operation disabled for user organizations"
290
347
  },
291
348
  {
292
349
  code: "001.008.0001",
293
350
  error: "team.not.found",
294
- message: "Team does not exist"
351
+ message: "Team does not exist",
352
+ shortMessage: "Team not found"
295
353
  },
296
354
  {
297
355
  code: "001.008.0002",
298
356
  error: "team.already.exists",
299
- message: "Team with given name already exists in organization"
357
+ message: "Team with given name already exists in organization",
358
+ shortMessage: "Team already exists"
300
359
  },
301
360
  {
302
361
  code: "001.009.0001",
303
362
  error: "registration.verification.failed",
304
- message: "The given verification code was invalid"
363
+ message: "The given verification code was invalid",
364
+ shortMessage: "Invalid verification code"
305
365
  },
306
366
  {
307
367
  code: "001.009.0002",
308
368
  error: "registration.invalid.captcha",
309
- message: "The given captcha was not valid"
369
+ message: "The given captcha was not valid",
370
+ shortMessage: "Invalid captcha"
310
371
  },
311
372
  {
312
373
  code: "001.009.0003",
313
374
  error: "user.already.exists",
314
- message: "User has already an account in helmut cloud"
375
+ message: "User has already an account in helmut cloud",
376
+ shortMessage: "User already exists"
315
377
  },
316
378
  {
317
379
  code: "001.009.0004",
318
380
  error: "verification.email.resend.limit.exceeded",
319
- message: "Too many resend-verification-emails sent. Try again later."
381
+ message: "Too many resend-verification-emails sent. Try again later.",
382
+ shortMessage: "Verification email resend limit exceeded"
320
383
  },
321
384
  {
322
385
  code: "001.021.0001",
323
386
  error: "domain.already.taken",
324
- message: "Domain already taken by another organization. If you are the current owner of this domain, this means that the previous owner already verified it. Contact support to resolve this issue."
387
+ message: "Domain already taken by another organization. If you are the current owner of this domain, this means that the previous owner already verified it. Contact support to resolve this issue.",
388
+ shortMessage: "Domain already taken"
325
389
  },
326
390
  {
327
391
  code: "001.021.0002",
328
392
  error: "domain.not.found",
329
- message: "Your organization has no domain associated with the given name."
393
+ message: "Your organization has no domain associated with the given name.",
394
+ shortMessage: "Domain not found"
330
395
  },
331
396
  {
332
397
  code: "001.021.0003",
333
398
  error: "domain.verification.failed",
334
- message: "Unable to find the correct UUID in the DNS TXT records associated with this domain."
399
+ message: "Unable to find the correct UUID in the DNS TXT records associated with this domain.",
400
+ shortMessage: "Domain verification failed"
335
401
  },
336
402
  {
337
403
  code: "001.021.0004",
338
404
  error: "domain.already.verified",
339
- message: "This domain has already been verified."
405
+ message: "This domain has already been verified.",
406
+ shortMessage: "Domain already verified"
340
407
  },
341
408
  {
342
409
  code: "001.021.0005",
343
410
  error: "domain.belongs.to.another.organization",
344
- message: "This domain has already been verified by another organization. If you are the current owner of this domain, this means that the previous owner already verified it. Contact support to resolve this issue."
411
+ message: "This domain has already been verified by another organization. If you are the current owner of this domain, this means that the previous owner already verified it. Contact support to resolve this issue.",
412
+ shortMessage: "Domain belongs to another organization"
345
413
  },
346
414
  {
347
415
  code: "001.021.0006",
348
416
  error: "domain.cannot.be.resolved",
349
- message: "Unable to find DNS records associated with the domain {domainName} from DNS server."
417
+ message: "Unable to find DNS records associated with the domain {domainName} from DNS server.",
418
+ shortMessage: "Domain cannot be resolved"
350
419
  },
351
420
  {
352
421
  code: "001.022.0001",
353
422
  error: "saml.invalid.certificate",
354
- message: "The certificate sent is invalid."
423
+ message: "The certificate sent is invalid.",
424
+ shortMessage: "Invalid SAML certificate"
355
425
  },
356
426
  {
357
427
  code: "001.022.0002",
358
428
  error: "saml.provider.already.exists",
359
- message: "SAML provider already exists for the specified domain."
429
+ message: "SAML provider already exists for the specified domain.",
430
+ shortMessage: "SAML provider already exists"
360
431
  },
361
432
  {
362
433
  code: "001.022.0003",
363
434
  error: "saml.provider.not.found",
364
- message: "SAML provider not found for the specified domain."
435
+ message: "SAML provider not found for the specified domain.",
436
+ shortMessage: "SAML provider not found"
365
437
  },
366
438
  {
367
439
  code: "001.022.0004",
368
440
  error: "saml.unverified.domain",
369
- message: "Cannot link SAML provider to an unverified domain."
441
+ message: "Cannot link SAML provider to an unverified domain.",
442
+ shortMessage: "SAML provider domain not verified"
370
443
  },
371
444
  {
372
445
  code: "001.023.0001",
373
446
  error: "search.invalid.filter",
374
- message: "The value of the filter property 'field' is invalid"
447
+ message: "The value of the filter property 'field' is invalid",
448
+ shortMessage: "Invalid search filter"
375
449
  },
376
450
  {
377
451
  code: "001.029.0001",
378
452
  error: "totp.not.found",
379
- message: "User has no TOTP activated"
453
+ message: "User has no TOTP activated",
454
+ shortMessage: "2FA not activated"
380
455
  },
381
456
  {
382
457
  code: "001.029.0002",
383
458
  error: "totp.recover.failed",
384
- message: "Failed to verify the given 2FA (TOTP) recover code"
459
+ message: "Failed to verify the given 2FA (TOTP) recover code",
460
+ shortMessage: "2FA recovery code verification failed"
385
461
  },
386
462
  {
387
463
  code: "001.029.0003",
388
464
  error: "totp.verification.failed",
389
- message: "Failed to verify the given 2FA (TOTP) token"
465
+ message: "Failed to verify the given 2FA (TOTP) token",
466
+ shortMessage: "2FA token verification failed"
390
467
  },
391
468
  {
392
469
  code: "001.029.0004",
393
470
  error: "totp.already.exists",
394
- message: "User TOTP has already been set, delete first"
471
+ message: "User TOTP has already been set, delete first",
472
+ shortMessage: "2FA already activated"
395
473
  },
396
474
  {
397
475
  code: "001.032.0001",
398
476
  error: "license.quota.exceeded",
399
- message: "You have exceeded the assigned quota for this action."
477
+ message: "You have exceeded the assigned quota for this action.",
478
+ shortMessage: "License quota exceeded"
400
479
  },
401
480
  {
402
481
  code: "001.032.0002",
403
482
  error: "license.already.exists",
404
- message: "This organization already has a license."
483
+ message: "This organization already has a license.",
484
+ shortMessage: "License already exists"
405
485
  },
406
486
  {
407
487
  code: "001.032.0003",
408
488
  error: "failed.to.fetch.license",
409
- message: "Failed to fetch the license because '{{reason}}'"
489
+ message: "Failed to fetch the license because '{{reason}}'",
490
+ shortMessage: "Failed to fetch license"
410
491
  },
411
492
  {
412
493
  code: "001.032.0004",
413
494
  error: "unassigned.license",
414
- message: "The specified license is not assigned to this organization."
495
+ message: "The specified license is not assigned to this organization.",
496
+ shortMessage: "License not assigned to organization"
415
497
  },
416
498
  {
417
499
  code: "001.034.0001",
418
500
  error: "service.account.not.found",
419
- message: "Service account not found"
501
+ message: "Service account not found",
502
+ shortMessage: "Service account not found"
420
503
  },
421
504
  {
422
505
  code: "001.034.0002",
423
506
  error: "service.account.already.exists",
424
- message: "Service account {name} already exists"
507
+ message: "Service account {name} already exists",
508
+ shortMessage: "Service account already exists"
425
509
  },
426
510
  {
427
511
  code: "001.044.0001",
428
512
  error: "message.not.found",
429
- message: "The specified message does not exist."
513
+ message: "The specified message does not exist.",
514
+ shortMessage: "Message not found"
430
515
  },
431
516
  {
432
517
  code: "001.055.0001",
433
518
  error: "storage.already.exists",
434
- message: "Storage already exists"
519
+ message: "Storage already exists",
520
+ shortMessage: "Storage already exists"
435
521
  },
436
522
  {
437
523
  code: "001.055.0002",
438
524
  error: "storage.not.found",
439
- message: "Storage not found"
525
+ message: "Storage not found",
526
+ shortMessage: "Storage not found"
440
527
  },
441
528
  {
442
529
  code: "001.055.0003",
443
530
  error: "storage.name.not.allowed",
444
- message: "Storage name not allowed"
531
+ message: "Storage name not allowed",
532
+ shortMessage: "Storage name not allowed"
445
533
  },
446
534
  {
447
535
  code: "001.055.0004",
448
536
  error: "storage.does.not.fulfill.requirements",
449
- message: "Storage does not fulfill requirements: '{{msg}}'"
537
+ message: "Storage does not fulfill requirements: '{{msg}}'",
538
+ shortMessage: "Storage does not fulfill requirements"
450
539
  },
451
540
  {
452
541
  code: "001.055.0005",
453
542
  error: "storage.protected",
454
- message: "This storage is protected"
543
+ message: "This storage is protected",
544
+ shortMessage: "Storage is protected"
455
545
  },
456
546
  {
457
547
  code: "001.056.0001",
458
548
  error: "oidc.provider.already.exists",
459
- message: "oidc provider already exists for the specified domain."
549
+ message: "oidc provider already exists for the specified domain.",
550
+ shortMessage: "OIDC provider already exists"
460
551
  },
461
552
  {
462
553
  code: "001.056.0002",
463
554
  error: "domain.oidc.provider.not.found",
464
- message: "OIDC provider not found for the specified domain."
555
+ message: "OIDC provider not found for the specified domain.",
556
+ shortMessage: "OIDC provider not found"
465
557
  },
466
558
  {
467
559
  code: "001.056.0003",
468
560
  error: "oidc.unverified.domain",
469
- message: "Cannot link oidc provider to an unverified domain."
561
+ message: "Cannot link oidc provider to an unverified domain.",
562
+ shortMessage: "OIDC provider domain not verified"
470
563
  },
471
564
  {
472
565
  code: "001.058.0001",
473
566
  error: "passkey.challenge.expired",
474
- message: "The passkey challenge is invalid, expired or has already been used"
567
+ message: "The passkey challenge is invalid, expired or has already been used",
568
+ shortMessage: "Passkey challenge invalid or expired"
475
569
  },
476
570
  {
477
571
  code: "001.058.0002",
478
572
  error: "passkey.not.found",
479
- message: "The specified passkey does not exist"
573
+ message: "The specified passkey does not exist",
574
+ shortMessage: "Passkey not found"
480
575
  },
481
576
  {
482
577
  code: "001.058.0003",
483
578
  error: "passkey.verification.failed",
484
- message: "Failed to verify the given passkey response"
579
+ message: "Failed to verify the given passkey response",
580
+ shortMessage: "Passkey verification failed"
485
581
  },
486
582
  {
487
583
  code: "002.000.0002",
488
584
  error: "internal.server.error",
489
- message: "Specific message describing the problem"
585
+ message: "Specific message describing the problem",
586
+ shortMessage: "Internal server error"
490
587
  },
491
588
  {
492
589
  code: "002.000.0003",
493
590
  error: "invalid.parameter",
494
- message: "Failed to validate 'type' parameter 'paramKey' - specificMessage"
591
+ message: "Failed to validate 'type' parameter 'paramKey' - specificMessage",
592
+ shortMessage: "Invalid parameter"
495
593
  },
496
594
  {
497
595
  code: "002.000.0004",
498
596
  error: "invalid.body",
499
- message: "Detailed message"
597
+ message: "Detailed message",
598
+ shortMessage: "Invalid request body"
500
599
  },
501
600
  {
502
601
  code: "002.000.0005",
503
602
  error: "payload.too.large",
504
- message: "Payload sent is too large. Maximum is {{maxSize}}"
603
+ message: "Payload sent is too large. Maximum is {{maxSize}}",
604
+ shortMessage: "Payload too large"
505
605
  },
506
606
  {
507
607
  code: "002.000.0006",
508
608
  error: "not.implemented",
509
- message: "Feature not implemented"
609
+ message: "Feature not implemented",
610
+ shortMessage: "Feature not implemented"
510
611
  },
511
612
  {
512
613
  code: "002.000.0007",
513
614
  error: "empty.update",
514
- message: "Update with no changes attempted"
615
+ message: "Update with no changes attempted",
616
+ shortMessage: "Update contains no changes"
515
617
  },
516
618
  {
517
619
  code: "002.000.0008",
518
620
  error: "unsupported",
519
- message: "Unsupported: {{message}}"
621
+ message: "Unsupported: {{message}}",
622
+ shortMessage: "Unsupported operation"
520
623
  },
521
624
  {
522
625
  code: "002.001.0001",
523
626
  error: "unauthorized",
524
- message: "You're not authorized"
627
+ message: "You're not authorized",
628
+ shortMessage: "Not authorized"
525
629
  },
526
630
  {
527
631
  code: "002.001.0002",
528
632
  error: "missing.auth.token",
529
- message: "Expected an authentication token that has not been provided"
633
+ message: "Expected an authentication token that has not been provided",
634
+ shortMessage: "Missing authentication token"
530
635
  },
531
636
  {
532
637
  code: "002.001.0003",
533
638
  error: "wrong.auth.token",
534
- message: "Your authentication token is invalid"
639
+ message: "Your authentication token is invalid",
640
+ shortMessage: "Invalid authentication token"
535
641
  },
536
642
  {
537
643
  code: "002.001.0004",
538
644
  error: "insufficient.rights",
539
- message: "You have not enough rights to access/manipulate this resource"
645
+ message: "You have not enough rights to access/manipulate this resource",
646
+ shortMessage: "Insufficient rights"
540
647
  },
541
648
  {
542
649
  code: "002.002.0001",
543
650
  error: "organization.member.not.found",
544
- message: "User is not member of the organization"
651
+ message: "User is not member of the organization",
652
+ shortMessage: "Organization member not found"
545
653
  },
546
654
  {
547
655
  code: "002.007.0001",
548
656
  error: "organization.not.found",
549
- message: "Organization not found"
657
+ message: "Organization not found",
658
+ shortMessage: "Organization not found"
550
659
  },
551
660
  {
552
661
  code: "002.008.0001",
553
662
  error: "team.not.found",
554
- message: "Team does not exist"
663
+ message: "Team does not exist",
664
+ shortMessage: "Team not found"
555
665
  },
556
666
  {
557
667
  code: "002.010.0001",
558
668
  error: "space.not.found",
559
- message: "Given space not found"
669
+ message: "Given space not found",
670
+ shortMessage: "Space not found"
560
671
  },
561
672
  {
562
673
  code: "002.010.0002",
563
674
  error: "space.name.in.use",
564
- message: "Given space name is already in use"
675
+ message: "Given space name is already in use",
676
+ shortMessage: "Space name already in use"
565
677
  },
566
678
  {
567
679
  code: "002.010.0003",
568
680
  error: "space.insufficient.permission",
569
- message: "You do not have the required permission"
681
+ message: "You do not have the required permission",
682
+ shortMessage: "Insufficient space permission"
570
683
  },
571
684
  {
572
685
  code: "002.010.0004",
573
686
  error: "space.invalid.owner",
574
- message: "A team cannot be the owner of a space"
687
+ message: "A team cannot be the owner of a space",
688
+ shortMessage: "Invalid space owner"
575
689
  },
576
690
  {
577
691
  code: "002.010.0005",
578
692
  error: "space.permission.not.found",
579
- message: "No permission found for given spaceId and entityId"
693
+ message: "No permission found for given spaceId and entityId",
694
+ shortMessage: "Space permission not found"
580
695
  },
581
696
  {
582
697
  code: "002.011.0001",
583
698
  error: "webhook.name.in.use",
584
- message: "Given webhook name is already in use"
699
+ message: "Given webhook name is already in use",
700
+ shortMessage: "Webhook name already in use"
585
701
  },
586
702
  {
587
703
  code: "002.011.0002",
588
704
  error: "webhook.not.found",
589
- message: "Given webhook not found"
705
+ message: "Given webhook not found",
706
+ shortMessage: "Webhook not found"
590
707
  },
591
708
  {
592
709
  code: "002.011.0004",
593
710
  error: "frameio.invalid.signature",
594
- message: "FrameIo signature verification failed, missing or invalid signature"
711
+ message: "FrameIo signature verification failed, missing or invalid signature",
712
+ shortMessage: "Invalid Frame.io signature"
595
713
  },
596
714
  {
597
715
  code: "002.011.0005",
598
716
  error: "frameio.invalid.timestamp",
599
- message: "FrameIo signature verification failed, missing or invalid timestamp"
717
+ message: "FrameIo signature verification failed, missing or invalid timestamp",
718
+ shortMessage: "Invalid Frame.io timestamp"
600
719
  },
601
720
  {
602
721
  code: "002.011.0006",
603
722
  error: "invalid.security.headers",
604
- message: "The provided security headers do not match"
723
+ message: "The provided security headers do not match",
724
+ shortMessage: "Invalid security headers"
605
725
  },
606
726
  {
607
727
  code: "002.011.0007",
608
728
  error: "invalid.multipart.form.data.header",
609
- message: "The provided multipart/form-data header is invalid. It is missing 'missing'."
729
+ message: "The provided multipart/form-data header is invalid. It is missing 'missing'.",
730
+ shortMessage: "Invalid multipart form data header"
610
731
  },
611
732
  {
612
733
  code: "002.011.0008",
613
734
  error: "webhook.execution.error",
614
- message: "Failed to execute webhook"
735
+ message: "Failed to execute webhook",
736
+ shortMessage: "Webhook execution failed"
615
737
  },
616
738
  {
617
739
  code: "002.011.0009",
618
740
  error: "webhook.preparation.error",
619
- message: "Failed to prepare webhook - 'detailedMessage'"
741
+ message: "Failed to prepare webhook - 'detailedMessage'",
742
+ shortMessage: "Webhook preparation failed"
620
743
  },
621
744
  {
622
745
  code: "002.011.0010",
623
746
  error: "webhook.blocked.ip",
624
- message: "Incoming request from blocked IP address {{ip}}"
747
+ message: "Incoming request from blocked IP address {{ip}}",
748
+ shortMessage: "Request from blocked IP address"
625
749
  },
626
750
  {
627
751
  code: "002.011.0011",
628
752
  error: "webhook.callback.expired",
629
- message: "The callback window for this webhook execution has expired"
753
+ message: "The callback window for this webhook execution has expired",
754
+ shortMessage: "Webhook callback expired"
630
755
  },
631
756
  {
632
757
  code: "002.012.0001",
633
758
  error: "webhookLog.not.found",
634
- message: "Given webhook log not found"
759
+ message: "Given webhook log not found",
760
+ shortMessage: "Webhook log not found"
635
761
  },
636
762
  {
637
763
  code: "002.013.0001",
638
764
  error: "wave.engine.not.found",
639
- message: "Requested wave engine not found"
765
+ message: "Requested wave engine not found",
766
+ shortMessage: "Wave engine not found"
640
767
  },
641
768
  {
642
769
  code: "002.013.0002",
643
770
  error: "wave.catalog.not.found",
644
- message: "Requested wave catalog not found"
771
+ message: "Requested wave catalog not found",
772
+ shortMessage: "Wave catalog not found"
645
773
  },
646
774
  {
647
775
  code: "002.013.0003",
648
776
  error: "failed.dependency",
649
- message: "Failed to request resource(s) from 'target'"
777
+ message: "Failed to request resource(s) from 'target'",
778
+ shortMessage: "Failed dependency"
650
779
  },
651
780
  {
652
781
  code: "002.013.0004",
653
782
  error: "invalid.catalog",
654
- message: "The supplied catalog is invalid due to {{reason}}"
783
+ message: "The supplied catalog is invalid due to {{reason}}",
784
+ shortMessage: "Invalid catalog"
655
785
  },
656
786
  {
657
787
  code: "002.014.0001",
658
788
  error: "stream.not.found",
659
- message: "Given stream not found"
789
+ message: "Given stream not found",
790
+ shortMessage: "Stream not found"
660
791
  },
661
792
  {
662
793
  code: "002.014.0002",
663
794
  error: "stream.invalid.order",
664
- message: "The stream order provided is invalid. It should be sequential, incremental by 1, starting from 1 and not exceeding total events stream count."
795
+ message: "The stream order provided is invalid. It should be sequential, incremental by 1, starting from 1 and not exceeding total events stream count.",
796
+ shortMessage: "Invalid stream order"
665
797
  },
666
798
  {
667
799
  code: "002.015.0001",
668
800
  error: "stream.inactive",
669
- message: "Unable to execute stream marked as inactive. Please change the state of the stream first."
801
+ message: "Unable to execute stream marked as inactive. Please change the state of the stream first.",
802
+ shortMessage: "Stream is inactive"
670
803
  },
671
804
  {
672
805
  code: "002.015.0003",
673
806
  error: "target.not.connected",
674
- message: "Requested target is not connected"
807
+ message: "Requested target is not connected",
808
+ shortMessage: "Target not connected"
675
809
  },
676
810
  {
677
811
  code: "002.015.0004",
678
812
  error: "execution.target.not.member",
679
- message: "Requested target {{target}} is not a member of the organization"
813
+ message: "Requested target {{target}} is not a member of the organization",
814
+ shortMessage: "Execution target not an organization member"
680
815
  },
681
816
  {
682
817
  code: "002.015.0005",
683
818
  error: "incompatible.engine.version",
684
- message: "Minimum engine version required '{{minimum}}', but current space version is '{{current}}'"
819
+ message: "Minimum engine version required '{{minimum}}', but current space version is '{{current}}'",
820
+ shortMessage: "Incompatible engine version"
685
821
  },
686
822
  {
687
823
  code: "002.015.0006",
688
824
  error: "invalid.execution.configuration",
689
- message: "invalid execution configuration: {{reason}}"
825
+ message: "invalid execution configuration: {{reason}}",
826
+ shortMessage: "Invalid execution configuration"
690
827
  },
691
828
  {
692
829
  code: "002.015.0007",
693
830
  error: "single.user.debug",
694
- message: "Only the user that started an execution can issue debug commands to it"
831
+ message: "Only the user that started an execution can issue debug commands to it",
832
+ shortMessage: "Debug commands restricted to execution owner"
695
833
  },
696
834
  {
697
835
  code: "002.015.0008",
698
836
  error: "no.debug.mode",
699
- message: "Debug commands can only be issued to executions of designs started in debug mode"
837
+ message: "Debug commands can only be issued to executions of designs started in debug mode",
838
+ shortMessage: "Execution not in debug mode"
700
839
  },
701
840
  {
702
841
  code: "002.015.0009",
703
842
  error: "debug.command.timeout",
704
- message: "Acknowledgement of debug command timed out"
843
+ message: "Acknowledgement of debug command timed out",
844
+ shortMessage: "Debug command timed out"
705
845
  },
706
846
  {
707
847
  code: "002.015.0010",
708
848
  error: "execution.target.not.execution.target",
709
- message: "Requested target {{target}} is a member of the organization but not an execution target"
849
+ message: "Requested target {{target}} is a member of the organization but not an execution target",
850
+ shortMessage: "User is not an execution target"
710
851
  },
711
852
  {
712
853
  code: "002.015.0011",
713
854
  error: "missing.catalog.exception",
714
- message: "A catalog present in the stream does not exist in the space anymore {{catalog}}"
855
+ message: "A catalog present in the stream does not exist in the space anymore {{catalog}}",
856
+ shortMessage: "Catalog missing from space"
715
857
  },
716
858
  {
717
859
  code: "002.016.0001",
718
860
  error: "node.not.found",
719
- message: "Node not found"
861
+ message: "Node not found",
862
+ shortMessage: "Node not found"
720
863
  },
721
864
  {
722
865
  code: "002.017.0001",
723
866
  error: "event.not.found",
724
- message: "Given event not found"
867
+ message: "Given event not found",
868
+ shortMessage: "Event not found"
725
869
  },
726
870
  {
727
871
  code: "002.017.0002",
728
872
  error: "event.name.in.use",
729
- message: "Given event name is already in use"
873
+ message: "Given event name is already in use",
874
+ shortMessage: "Event name already in use"
730
875
  },
731
876
  {
732
877
  code: "002.017.0003",
733
878
  error: "event.has.linked.jobs",
734
- message: "Event still has {{count}} linked job(s) - delete them first or confirm cascade deletion"
879
+ message: "Event still has {{count}} linked job(s) - delete them first or confirm cascade deletion",
880
+ shortMessage: "Event has linked jobs"
735
881
  },
736
882
  {
737
883
  code: "002.018.0001",
738
884
  error: "design.not.found",
739
- message: "Given design not found"
885
+ message: "Given design not found",
886
+ shortMessage: "Design not found"
740
887
  },
741
888
  {
742
889
  code: "002.018.0002",
743
890
  error: "design.node.not.found",
744
- message: "Given design node not found"
891
+ message: "Given design node not found",
892
+ shortMessage: "Design node not found"
745
893
  },
746
894
  {
747
895
  code: "002.018.0003",
748
896
  error: "design.link.not.found",
749
- message: "Given design link not found"
897
+ message: "Given design link not found",
898
+ shortMessage: "Design link not found"
750
899
  },
751
900
  {
752
901
  code: "002.018.0004",
753
902
  error: "design.hash.mismatch",
754
- message: "Mismatch between actual current hash and expected current hash. You may need to retrieve a more up-to-date version of this design."
903
+ message: "Mismatch between actual current hash and expected current hash. You may need to retrieve a more up-to-date version of this design.",
904
+ shortMessage: "Design hash mismatch"
755
905
  },
756
906
  {
757
907
  code: "002.018.0005",
758
908
  error: "snapshot.already.exists",
759
- message: "There already a snapshot of this design with the same name."
909
+ message: "There already a snapshot of this design with the same name.",
910
+ shortMessage: "Snapshot already exists"
760
911
  },
761
912
  {
762
913
  code: "002.018.0006",
763
914
  error: "snapshot.not.found",
764
- message: "Design snapshot not found."
915
+ message: "Design snapshot not found.",
916
+ shortMessage: "Snapshot not found"
765
917
  },
766
918
  {
767
919
  code: "002.018.0007",
768
920
  error: "maximum.snapshots.reached",
769
- message: "This stream has reached the maximum amount of snapshots ({amount}). Delete existing ones in order to add more."
921
+ message: "This stream has reached the maximum amount of snapshots ({amount}). Delete existing ones in order to add more.",
922
+ shortMessage: "Maximum number of snapshots reached"
770
923
  },
771
924
  {
772
925
  code: "002.018.0008",
773
926
  error: "published.snapshot.deletion.forbidden",
774
- message: "A published snapshot cannot be deleted."
927
+ message: "A published snapshot cannot be deleted.",
928
+ shortMessage: "Published snapshot cannot be deleted"
775
929
  },
776
930
  {
777
931
  code: "002.018.0009",
778
932
  error: "empty.design",
779
- message: "An empty design cannot be published"
933
+ message: "An empty design cannot be published",
934
+ shortMessage: "Empty design cannot be published"
780
935
  },
781
936
  {
782
937
  code: "002.018.0010",
783
938
  error: "unable.to.replace.substream",
784
- message: "Unable to replace substream: {{error}}"
939
+ message: "Unable to replace substream: {{error}}",
940
+ shortMessage: "Unable to replace substream"
785
941
  },
786
942
  {
787
943
  code: "002.020.0001",
788
944
  error: "cronjob.not.found",
789
- message: "Given cronjob not found"
945
+ message: "Given cronjob not found",
946
+ shortMessage: "Cronjob not found"
790
947
  },
791
948
  {
792
949
  code: "002.020.0002",
793
950
  error: "cronjob.invalid.expression",
794
- message: "Given cronjob expression is either not a valid quartz format, uses advanced expressions that are not supported or holds a value other than 0 for the 'seconds' field (seconds are currently not allowed)"
951
+ message: "Given cronjob expression is either not a valid quartz format, uses advanced expressions that are not supported or holds a value other than 0 for the 'seconds' field (seconds are currently not allowed)",
952
+ shortMessage: "Invalid cronjob expression"
795
953
  },
796
954
  {
797
955
  code: "002.020.0003",
798
956
  error: "cronjob.log.not.found",
799
- message: "Given cronjob log not found"
957
+ message: "Given cronjob log not found",
958
+ shortMessage: "Cronjob log not found"
800
959
  },
801
960
  {
802
961
  code: "002.020.0004",
803
962
  error: "cronjob.timestamp.in.past",
804
- message: "The provided timestamp is in the past - a scheduled event must be created with a future timestamp"
963
+ message: "The provided timestamp is in the past - a scheduled event must be created with a future timestamp",
964
+ shortMessage: "Cronjob timestamp in the past"
805
965
  },
806
966
  {
807
967
  code: "002.023.0001",
808
968
  error: "search.invalid.filter",
809
- message: "The value of the filter property 'field' is invalid"
969
+ message: "The value of the filter property 'field' is invalid",
970
+ shortMessage: "Invalid search filter"
810
971
  },
811
972
  {
812
973
  code: "002.024.0001",
813
974
  error: "secret.not.found",
814
- message: "Secret not found."
975
+ message: "Secret not found.",
976
+ shortMessage: "Secret not found"
815
977
  },
816
978
  {
817
979
  code: "002.024.0002",
818
980
  error: "secret.already.exists",
819
- message: "Secret already exists."
981
+ message: "Secret already exists.",
982
+ shortMessage: "Secret already exists"
820
983
  },
821
984
  {
822
985
  code: "002.025.0001",
823
986
  error: "execution.log.not.found",
824
- message: "Execution log not found."
987
+ message: "Execution log not found.",
988
+ shortMessage: "Execution log not found"
825
989
  },
826
990
  {
827
991
  code: "002.025.0002",
828
992
  error: "execution.result.not.found",
829
- message: "Execution result object not found."
993
+ message: "Execution result object not found.",
994
+ shortMessage: "Execution result not found"
830
995
  },
831
996
  {
832
997
  code: "002.025.0003",
833
998
  error: "execution.not.found",
834
- message: "Execution object not found."
999
+ message: "Execution object not found.",
1000
+ shortMessage: "Execution not found"
835
1001
  },
836
1002
  {
837
1003
  code: "002.025.0004",
838
1004
  error: "execution.cancel",
839
- message: "Cancel execution failed 'message'"
1005
+ message: "Cancel execution failed 'message'",
1006
+ shortMessage: "Failed to cancel execution"
840
1007
  },
841
1008
  {
842
1009
  code: "002.031.0001",
843
1010
  error: "join.token.already.exists",
844
- message: "Join token with the same already exists."
1011
+ message: "Join token with the same already exists.",
1012
+ shortMessage: "Join token already exists"
845
1013
  },
846
1014
  {
847
1015
  code: "002.031.0002",
848
1016
  error: "join.token.not.found",
849
- message: "Join token not found."
1017
+ message: "Join token not found.",
1018
+ shortMessage: "Join token not found"
850
1019
  },
851
1020
  {
852
1021
  code: "002.032.0001",
853
1022
  error: "license.quota.exceeded",
854
- message: "You have exceeded the assigned quota for this action."
1023
+ message: "You have exceeded the assigned quota for this action.",
1024
+ shortMessage: "License quota exceeded"
855
1025
  },
856
1026
  {
857
1027
  code: "002.033.0001",
858
1028
  error: "pool.name.in.use",
859
- message: "Pool name {{name}} is already in use"
1029
+ message: "Pool name {{name}} is already in use",
1030
+ shortMessage: "Pool name already in use"
860
1031
  },
861
1032
  {
862
1033
  code: "002.033.0002",
863
1034
  error: "pool.not.found",
864
- message: "Pool not found"
1035
+ message: "Pool not found",
1036
+ shortMessage: "Pool not found"
865
1037
  },
866
1038
  {
867
1039
  code: "002.035.0001",
868
1040
  error: "database.not.found",
869
- message: "Given database not found"
1041
+ message: "Given database not found",
1042
+ shortMessage: "Database not found"
870
1043
  },
871
1044
  {
872
1045
  code: "002.035.0002",
873
1046
  error: "database.name.in.use",
874
- message: "Given database name is already in use"
1047
+ message: "Given database name is already in use",
1048
+ shortMessage: "Database name already in use"
875
1049
  },
876
1050
  {
877
1051
  code: "002.036.0001",
878
1052
  error: "document.type.mismatch",
879
- message: "Data type of the value does not match the existing documents data type"
1053
+ message: "Data type of the value does not match the existing documents data type",
1054
+ shortMessage: "Document type mismatch"
880
1055
  },
881
1056
  {
882
1057
  code: "002.036.0002",
883
1058
  error: "document.not.found",
884
- message: "Given document not found"
1059
+ message: "Given document not found",
1060
+ shortMessage: "Document not found"
885
1061
  },
886
1062
  {
887
1063
  code: "002.036.0003",
888
1064
  error: "document.already.exists",
889
- message: "Document with given key already exists within a space"
1065
+ message: "Document with given key already exists within a space",
1066
+ shortMessage: "Document already exists"
890
1067
  },
891
1068
  {
892
1069
  code: "002.036.0004",
893
1070
  error: "array.item.not.found",
894
- message: "Given array item not found"
1071
+ message: "Given array item not found",
1072
+ shortMessage: "Array item not found"
895
1073
  },
896
1074
  {
897
1075
  code: "002.036.0005",
898
1076
  error: "object.keys.not.found",
899
- message: "Given object keys not found"
1077
+ message: "Given object keys not found",
1078
+ shortMessage: "Object keys not found"
900
1079
  },
901
1080
  {
902
1081
  code: "002.053.0001",
903
1082
  error: "apikey.not.found",
904
- message: "API key not found"
1083
+ message: "API key not found",
1084
+ shortMessage: "API key not found"
905
1085
  },
906
1086
  {
907
1087
  code: "002.053.0002",
908
1088
  error: "apikey.name.in.use",
909
- message: "Given API key name is already in use"
1089
+ message: "Given API key name is already in use",
1090
+ shortMessage: "API key name already in use"
910
1091
  },
911
1092
  {
912
1093
  code: "002.059.0001",
913
1094
  error: "watchFolder.not.found",
914
- message: "The requested watch folder could not be found"
1095
+ message: "The requested watch folder could not be found",
1096
+ shortMessage: "Watch folder not found"
915
1097
  },
916
1098
  {
917
1099
  code: "002.059.0002",
918
1100
  error: "watchFolder.name.in.use",
919
- message: "The provided watch folder name is already in use in this space"
1101
+ message: "The provided watch folder name is already in use in this space",
1102
+ shortMessage: "Watch folder name already in use"
920
1103
  },
921
1104
  {
922
1105
  code: "002.059.0003",
923
1106
  error: "watchFolder.file.not.found",
924
- message: "No watch folder file matching the given execution was found"
1107
+ message: "No watch folder file matching the given execution was found",
1108
+ shortMessage: "Watch folder file not found"
925
1109
  },
926
1110
  {
927
1111
  code: "002.059.0004",
928
1112
  error: "watchFolder.file.reset.limit.exceeded",
929
- message: "This file has already reached the maximum number of allowed resets"
1113
+ message: "This file has already reached the maximum number of allowed resets",
1114
+ shortMessage: "Watch folder file reset limit exceeded"
930
1115
  },
931
1116
  {
932
1117
  code: "003.000.0002",
933
1118
  error: "internal.server.error",
934
- message: "Specific message describing the problem"
1119
+ message: "Specific message describing the problem",
1120
+ shortMessage: "Internal server error"
935
1121
  },
936
1122
  {
937
1123
  code: "003.000.0003",
938
1124
  error: "invalid.parameter",
939
- message: "Failed to validate 'type' parameter 'paramKey' - specificMessage"
1125
+ message: "Failed to validate 'type' parameter 'paramKey' - specificMessage",
1126
+ shortMessage: "Invalid parameter"
940
1127
  },
941
1128
  {
942
1129
  code: "003.000.0004",
943
1130
  error: "invalid.body",
944
- message: "Detailed message"
1131
+ message: "Detailed message",
1132
+ shortMessage: "Invalid request body"
945
1133
  },
946
1134
  {
947
1135
  code: "003.000.0005",
948
1136
  error: "payload.too.large",
949
- message: "Payload sent is too large. Maximum is {{maxSize}}"
1137
+ message: "Payload sent is too large. Maximum is {{maxSize}}",
1138
+ shortMessage: "Payload too large"
950
1139
  },
951
1140
  {
952
1141
  code: "003.000.0006",
953
1142
  error: "not.implemented",
954
- message: "Feature not implemented"
1143
+ message: "Feature not implemented",
1144
+ shortMessage: "Feature not implemented"
955
1145
  },
956
1146
  {
957
1147
  code: "003.000.0007",
958
1148
  error: "empty.update",
959
- message: "Update with no changes attempted"
1149
+ message: "Update with no changes attempted",
1150
+ shortMessage: "Update contains no changes"
960
1151
  },
961
1152
  {
962
1153
  code: "003.000.0008",
963
1154
  error: "unsupported",
964
- message: "Unsupported: {{message}}"
1155
+ message: "Unsupported: {{message}}",
1156
+ shortMessage: "Unsupported operation"
965
1157
  },
966
1158
  {
967
1159
  code: "003.001.0001",
968
1160
  error: "unauthorized",
969
- message: "You're not authorized"
1161
+ message: "You're not authorized",
1162
+ shortMessage: "Not authorized"
970
1163
  },
971
1164
  {
972
1165
  code: "003.001.0002",
973
1166
  error: "missing.auth.token",
974
- message: "Expected an authentication token that has not been provided"
1167
+ message: "Expected an authentication token that has not been provided",
1168
+ shortMessage: "Missing authentication token"
975
1169
  },
976
1170
  {
977
1171
  code: "003.001.0003",
978
1172
  error: "wrong.auth.token",
979
- message: "Your authentication token is invalid"
1173
+ message: "Your authentication token is invalid",
1174
+ shortMessage: "Invalid authentication token"
980
1175
  },
981
1176
  {
982
1177
  code: "003.001.0004",
983
1178
  error: "insufficient.rights",
984
- message: "You have not enough rights to access/manipulate this resource"
1179
+ message: "You have not enough rights to access/manipulate this resource",
1180
+ shortMessage: "Insufficient rights"
985
1181
  },
986
1182
  {
987
1183
  code: "003.023.0001",
988
1184
  error: "search.invalid.filter",
989
- message: "The value of the filter property 'field' is invalid"
1185
+ message: "The value of the filter property 'field' is invalid",
1186
+ shortMessage: "Invalid search filter"
990
1187
  },
991
1188
  {
992
1189
  code: "004.000.0002",
993
1190
  error: "internal.server.error",
994
- message: "Specific message describing the problem"
1191
+ message: "Specific message describing the problem",
1192
+ shortMessage: "Internal server error"
995
1193
  },
996
1194
  {
997
1195
  code: "004.000.0003",
998
1196
  error: "invalid.parameter",
999
- message: "Failed to validate 'type' parameter 'paramKey' - specificMessage"
1197
+ message: "Failed to validate 'type' parameter 'paramKey' - specificMessage",
1198
+ shortMessage: "Invalid parameter"
1000
1199
  },
1001
1200
  {
1002
1201
  code: "004.000.0004",
1003
1202
  error: "invalid.body",
1004
- message: "Detailed message"
1203
+ message: "Detailed message",
1204
+ shortMessage: "Invalid request body"
1005
1205
  },
1006
1206
  {
1007
1207
  code: "004.000.0005",
1008
1208
  error: "payload.too.large",
1009
- message: "Payload sent is too large. Maximum is {{maxSize}}"
1209
+ message: "Payload sent is too large. Maximum is {{maxSize}}",
1210
+ shortMessage: "Payload too large"
1010
1211
  },
1011
1212
  {
1012
1213
  code: "004.000.0006",
1013
1214
  error: "not.implemented",
1014
- message: "Feature not implemented"
1215
+ message: "Feature not implemented",
1216
+ shortMessage: "Feature not implemented"
1015
1217
  },
1016
1218
  {
1017
1219
  code: "004.000.0007",
1018
1220
  error: "empty.update",
1019
- message: "Update with no changes attempted"
1221
+ message: "Update with no changes attempted",
1222
+ shortMessage: "Update contains no changes"
1020
1223
  },
1021
1224
  {
1022
1225
  code: "004.000.0008",
1023
1226
  error: "unsupported",
1024
- message: "Unsupported: {{message}}"
1227
+ message: "Unsupported: {{message}}",
1228
+ shortMessage: "Unsupported operation"
1025
1229
  },
1026
1230
  {
1027
1231
  code: "004.001.0001",
1028
1232
  error: "unauthorized",
1029
- message: "You're not authorized"
1233
+ message: "You're not authorized",
1234
+ shortMessage: "Not authorized"
1030
1235
  },
1031
1236
  {
1032
1237
  code: "004.001.0002",
1033
1238
  error: "missing.auth.token",
1034
- message: "Expected an authentication token that has not been provided"
1239
+ message: "Expected an authentication token that has not been provided",
1240
+ shortMessage: "Missing authentication token"
1035
1241
  },
1036
1242
  {
1037
1243
  code: "004.001.0003",
1038
1244
  error: "wrong.auth.token",
1039
- message: "Your authentication token is invalid"
1245
+ message: "Your authentication token is invalid",
1246
+ shortMessage: "Invalid authentication token"
1040
1247
  },
1041
1248
  {
1042
1249
  code: "004.001.0004",
1043
1250
  error: "insufficient.rights",
1044
- message: "You have not enough rights to access/manipulate this resource"
1251
+ message: "You have not enough rights to access/manipulate this resource",
1252
+ shortMessage: "Insufficient rights"
1045
1253
  },
1046
1254
  {
1047
1255
  code: "004.019.0001",
1048
1256
  error: "template.not.found",
1049
- message: "Given template not found"
1257
+ message: "Given template not found",
1258
+ shortMessage: "Template not found"
1050
1259
  },
1051
1260
  {
1052
1261
  code: "004.019.0002",
1053
1262
  error: "mailjet.generic",
1054
- message: "mailjetgeneric error"
1263
+ message: "mailjetgeneric error",
1264
+ shortMessage: "Mailjet error"
1055
1265
  },
1056
1266
  {
1057
1267
  code: "004.023.0001",
1058
1268
  error: "search.invalid.filter",
1059
- message: "The value of the filter property 'field' is invalid"
1269
+ message: "The value of the filter property 'field' is invalid",
1270
+ shortMessage: "Invalid search filter"
1060
1271
  },
1061
1272
  {
1062
1273
  code: "005.000.0002",
1063
1274
  error: "internal.server.error",
1064
- message: "Specific message describing the problem"
1275
+ message: "Specific message describing the problem",
1276
+ shortMessage: "Internal server error"
1065
1277
  },
1066
1278
  {
1067
1279
  code: "005.000.0003",
1068
1280
  error: "invalid.parameter",
1069
- message: "Failed to validate 'type' parameter 'paramKey' - specificMessage"
1281
+ message: "Failed to validate 'type' parameter 'paramKey' - specificMessage",
1282
+ shortMessage: "Invalid parameter"
1070
1283
  },
1071
1284
  {
1072
1285
  code: "005.000.0004",
1073
1286
  error: "invalid.body",
1074
- message: "Detailed message"
1287
+ message: "Detailed message",
1288
+ shortMessage: "Invalid request body"
1075
1289
  },
1076
1290
  {
1077
1291
  code: "005.000.0005",
1078
1292
  error: "payload.too.large",
1079
- message: "Payload sent is too large. Maximum is {{maxSize}}"
1293
+ message: "Payload sent is too large. Maximum is {{maxSize}}",
1294
+ shortMessage: "Payload too large"
1080
1295
  },
1081
1296
  {
1082
1297
  code: "005.000.0006",
1083
1298
  error: "not.implemented",
1084
- message: "Feature not implemented"
1299
+ message: "Feature not implemented",
1300
+ shortMessage: "Feature not implemented"
1085
1301
  },
1086
1302
  {
1087
1303
  code: "005.000.0007",
1088
1304
  error: "empty.update",
1089
- message: "Update with no changes attempted"
1305
+ message: "Update with no changes attempted",
1306
+ shortMessage: "Update contains no changes"
1090
1307
  },
1091
1308
  {
1092
1309
  code: "005.000.0008",
1093
1310
  error: "unsupported",
1094
- message: "Unsupported: {{message}}"
1311
+ message: "Unsupported: {{message}}",
1312
+ shortMessage: "Unsupported operation"
1095
1313
  },
1096
1314
  {
1097
1315
  code: "005.001.0001",
1098
1316
  error: "unauthorized",
1099
- message: "You're not authorized"
1317
+ message: "You're not authorized",
1318
+ shortMessage: "Not authorized"
1100
1319
  },
1101
1320
  {
1102
1321
  code: "005.001.0002",
1103
1322
  error: "missing.auth.token",
1104
- message: "Expected an authentication token that has not been provided"
1323
+ message: "Expected an authentication token that has not been provided",
1324
+ shortMessage: "Missing authentication token"
1105
1325
  },
1106
1326
  {
1107
1327
  code: "005.001.0003",
1108
1328
  error: "wrong.auth.token",
1109
- message: "Your authentication token is invalid"
1329
+ message: "Your authentication token is invalid",
1330
+ shortMessage: "Invalid authentication token"
1110
1331
  },
1111
1332
  {
1112
1333
  code: "005.001.0004",
1113
1334
  error: "insufficient.rights",
1114
- message: "You have not enough rights to access/manipulate this resource"
1335
+ message: "You have not enough rights to access/manipulate this resource",
1336
+ shortMessage: "Insufficient rights"
1115
1337
  },
1116
1338
  {
1117
1339
  code: "005.013.0001",
1118
1340
  error: "wave.engine.not.cached",
1119
- message: "Wave Engine ::version:: was not found in cache"
1341
+ message: "Wave Engine ::version:: was not found in cache",
1342
+ shortMessage: "Wave engine not cached"
1120
1343
  },
1121
1344
  {
1122
1345
  code: "005.013.0002",
1123
1346
  error: "wave.catalog.not.cached",
1124
- message: "Requested Wave Catalog with hash ::hash:: is missing from the cache"
1347
+ message: "Requested Wave Catalog with hash ::hash:: is missing from the cache",
1348
+ shortMessage: "Wave catalog not cached"
1125
1349
  },
1126
1350
  {
1127
1351
  code: "005.014.0003",
1128
1352
  error: "stream.cache.not.found",
1129
- message: "Stream cache entry not found"
1353
+ message: "Stream cache entry not found",
1354
+ shortMessage: "Stream cache entry not found"
1130
1355
  },
1131
1356
  {
1132
1357
  code: "005.023.0001",
1133
1358
  error: "search.invalid.filter",
1134
- message: "The value of the filter property 'field' is invalid"
1359
+ message: "The value of the filter property 'field' is invalid",
1360
+ shortMessage: "Invalid search filter"
1135
1361
  },
1136
1362
  {
1137
1363
  code: "005.027.0001",
1138
1364
  error: "context.already.exists",
1139
- message: "Context already exists"
1365
+ message: "Context already exists",
1366
+ shortMessage: "Context already exists"
1140
1367
  },
1141
1368
  {
1142
1369
  code: "005.027.0002",
1143
1370
  error: "context.not.found",
1144
- message: "No context found"
1371
+ message: "No context found",
1372
+ shortMessage: "Context not found"
1145
1373
  },
1146
1374
  {
1147
1375
  code: "005.027.0003",
1148
1376
  error: "context.not.connected",
1149
- message: "The context seems not to be connected to hcloud"
1377
+ message: "The context seems not to be connected to hcloud",
1378
+ shortMessage: "Context not connected"
1150
1379
  },
1151
1380
  {
1152
1381
  code: "005.027.0004",
1153
1382
  error: "context.already.connected",
1154
- message: "The is already connected"
1383
+ message: "The is already connected",
1384
+ shortMessage: "Context already connected"
1155
1385
  },
1156
1386
  {
1157
1387
  code: "005.051.0001",
1158
1388
  error: "module.already.exists",
1159
- message: "Module already exists"
1389
+ message: "Module already exists",
1390
+ shortMessage: "Module already exists"
1160
1391
  },
1161
1392
  {
1162
1393
  code: "005.051.0002",
1163
1394
  error: "module.not.found",
1164
- message: "Given module not found"
1395
+ message: "Given module not found",
1396
+ shortMessage: "Module not found"
1165
1397
  },
1166
1398
  {
1167
1399
  code: "005.052.0001",
1168
1400
  error: "log.collector.registration.failed",
1169
- message: "Failed to register the external logging collector"
1401
+ message: "Failed to register the external logging collector",
1402
+ shortMessage: "Log collector registration failed"
1170
1403
  },
1171
1404
  {
1172
1405
  code: "005.052.0002",
1173
1406
  error: "log.collector.not.found",
1174
- message: "External log collector with the specified name '::name::' was not found"
1407
+ message: "External log collector with the specified name '::name::' was not found",
1408
+ shortMessage: "Log collector not found"
1175
1409
  },
1176
1410
  {
1177
1411
  code: "006.000.0002",
1178
1412
  error: "internal.server.error",
1179
- message: "Specific message describing the problem"
1413
+ message: "Specific message describing the problem",
1414
+ shortMessage: "Internal server error"
1180
1415
  },
1181
1416
  {
1182
1417
  code: "006.000.0003",
1183
1418
  error: "invalid.parameter",
1184
- message: "Failed to validate 'type' parameter 'paramKey' - specificMessage"
1419
+ message: "Failed to validate 'type' parameter 'paramKey' - specificMessage",
1420
+ shortMessage: "Invalid parameter"
1185
1421
  },
1186
1422
  {
1187
1423
  code: "006.000.0004",
1188
1424
  error: "invalid.body",
1189
- message: "Detailed message"
1425
+ message: "Detailed message",
1426
+ shortMessage: "Invalid request body"
1190
1427
  },
1191
1428
  {
1192
1429
  code: "006.000.0005",
1193
1430
  error: "payload.too.large",
1194
- message: "Payload sent is too large. Maximum is {{maxSize}}"
1431
+ message: "Payload sent is too large. Maximum is {{maxSize}}",
1432
+ shortMessage: "Payload too large"
1195
1433
  },
1196
1434
  {
1197
1435
  code: "006.000.0006",
1198
1436
  error: "not.implemented",
1199
- message: "Feature not implemented"
1437
+ message: "Feature not implemented",
1438
+ shortMessage: "Feature not implemented"
1200
1439
  },
1201
1440
  {
1202
1441
  code: "006.000.0007",
1203
1442
  error: "empty.update",
1204
- message: "Update with no changes attempted"
1443
+ message: "Update with no changes attempted",
1444
+ shortMessage: "Update contains no changes"
1205
1445
  },
1206
1446
  {
1207
1447
  code: "006.000.0008",
1208
1448
  error: "unsupported",
1209
- message: "Unsupported: {{message}}"
1449
+ message: "Unsupported: {{message}}",
1450
+ shortMessage: "Unsupported operation"
1210
1451
  },
1211
1452
  {
1212
1453
  code: "006.001.0001",
1213
1454
  error: "unauthorized",
1214
- message: "You're not authorized"
1455
+ message: "You're not authorized",
1456
+ shortMessage: "Not authorized"
1215
1457
  },
1216
1458
  {
1217
1459
  code: "006.001.0002",
1218
1460
  error: "missing.auth.token",
1219
- message: "Expected an authentication token that has not been provided"
1461
+ message: "Expected an authentication token that has not been provided",
1462
+ shortMessage: "Missing authentication token"
1220
1463
  },
1221
1464
  {
1222
1465
  code: "006.001.0003",
1223
1466
  error: "wrong.auth.token",
1224
- message: "Your authentication token is invalid"
1467
+ message: "Your authentication token is invalid",
1468
+ shortMessage: "Invalid authentication token"
1225
1469
  },
1226
1470
  {
1227
1471
  code: "006.001.0004",
1228
1472
  error: "insufficient.rights",
1229
- message: "You have not enough rights to access/manipulate this resource"
1473
+ message: "You have not enough rights to access/manipulate this resource",
1474
+ shortMessage: "Insufficient rights"
1230
1475
  },
1231
1476
  {
1232
1477
  code: "006.001.0005",
1233
1478
  error: "missing.auth.interceptor",
1234
- message: "auth interceptor missing"
1479
+ message: "auth interceptor missing",
1480
+ shortMessage: "Auth interceptor missing"
1235
1481
  },
1236
1482
  {
1237
1483
  code: "006.023.0001",
1238
1484
  error: "search.invalid.filter",
1239
- message: "The value of the filter property 'field' is invalid"
1485
+ message: "The value of the filter property 'field' is invalid",
1486
+ shortMessage: "Invalid search filter"
1240
1487
  },
1241
1488
  {
1242
1489
  code: "006.028.0001",
1243
1490
  error: "invalid.json",
1244
- message: "failed to encode return-value to json"
1491
+ message: "failed to encode return-value to json",
1492
+ shortMessage: "Failed to encode JSON"
1245
1493
  },
1246
1494
  {
1247
1495
  code: "006.028.0002",
1248
1496
  error: "feature.already.exists",
1249
- message: "feature with given name does already exists"
1497
+ message: "feature with given name does already exists",
1498
+ shortMessage: "Feature already exists"
1250
1499
  },
1251
1500
  {
1252
1501
  code: "006.028.0003",
1253
1502
  error: "feature.not.found",
1254
- message: "feature with given name does not exist"
1503
+ message: "feature with given name does not exist",
1504
+ shortMessage: "Feature not found"
1255
1505
  },
1256
1506
  {
1257
1507
  code: "006.028.0004",
1258
1508
  error: "feature.creation.failed",
1259
- message: "<generic error>"
1509
+ message: "<generic error>",
1510
+ shortMessage: "Feature creation failed"
1260
1511
  },
1261
1512
  {
1262
1513
  code: "006.028.0005",
1263
1514
  error: "feature.update.failed",
1264
- message: "<generic error>"
1515
+ message: "<generic error>",
1516
+ shortMessage: "Feature update failed"
1265
1517
  },
1266
1518
  {
1267
1519
  code: "006.028.0006",
1268
1520
  error: "feature.listing.failed",
1269
- message: "<generic error>"
1521
+ message: "<generic error>",
1522
+ shortMessage: "Feature listing failed"
1270
1523
  },
1271
1524
  {
1272
1525
  code: "006.028.0007",
1273
1526
  error: "feature.deletion.failed",
1274
- message: "<generic error>"
1527
+ message: "<generic error>",
1528
+ shortMessage: "Feature deletion failed"
1275
1529
  },
1276
1530
  {
1277
1531
  code: "007.000.0002",
1278
1532
  error: "internal.server.error",
1279
- message: "Specific message describing the problem"
1533
+ message: "Specific message describing the problem",
1534
+ shortMessage: "Internal server error"
1280
1535
  },
1281
1536
  {
1282
1537
  code: "007.000.0003",
1283
1538
  error: "invalid.parameter",
1284
- message: "Failed to validate 'type' parameter 'paramKey' - specificMessage"
1539
+ message: "Failed to validate 'type' parameter 'paramKey' - specificMessage",
1540
+ shortMessage: "Invalid parameter"
1285
1541
  },
1286
1542
  {
1287
1543
  code: "007.000.0004",
1288
1544
  error: "invalid.body",
1289
- message: "Detailed message"
1545
+ message: "Detailed message",
1546
+ shortMessage: "Invalid request body"
1290
1547
  },
1291
1548
  {
1292
1549
  code: "007.000.0005",
1293
1550
  error: "payload.too.large",
1294
- message: "Payload sent is too large. Maximum is {{maxSize}}"
1551
+ message: "Payload sent is too large. Maximum is {{maxSize}}",
1552
+ shortMessage: "Payload too large"
1295
1553
  },
1296
1554
  {
1297
1555
  code: "007.000.0006",
1298
1556
  error: "not.implemented",
1299
- message: "Feature not implemented"
1557
+ message: "Feature not implemented",
1558
+ shortMessage: "Feature not implemented"
1300
1559
  },
1301
1560
  {
1302
1561
  code: "007.000.0007",
1303
1562
  error: "empty.update",
1304
- message: "Update with no changes attempted"
1563
+ message: "Update with no changes attempted",
1564
+ shortMessage: "Update contains no changes"
1305
1565
  },
1306
1566
  {
1307
1567
  code: "007.000.0008",
1308
1568
  error: "unsupported",
1309
- message: "Unsupported: {{message}}"
1569
+ message: "Unsupported: {{message}}",
1570
+ shortMessage: "Unsupported operation"
1310
1571
  },
1311
1572
  {
1312
1573
  code: "007.001.0001",
1313
1574
  error: "unauthorized",
1314
- message: "You're not authorized"
1575
+ message: "You're not authorized",
1576
+ shortMessage: "Not authorized"
1315
1577
  },
1316
1578
  {
1317
1579
  code: "007.001.0002",
1318
1580
  error: "missing.auth.token",
1319
- message: "Expected an authentication token that has not been provided"
1581
+ message: "Expected an authentication token that has not been provided",
1582
+ shortMessage: "Missing authentication token"
1320
1583
  },
1321
1584
  {
1322
1585
  code: "007.001.0003",
1323
1586
  error: "wrong.auth.token",
1324
- message: "Your authentication token is invalid"
1587
+ message: "Your authentication token is invalid",
1588
+ shortMessage: "Invalid authentication token"
1325
1589
  },
1326
1590
  {
1327
1591
  code: "007.001.0004",
1328
1592
  error: "insufficient.rights",
1329
- message: "You have not enough rights to access/manipulate this resource"
1593
+ message: "You have not enough rights to access/manipulate this resource",
1594
+ shortMessage: "Insufficient rights"
1330
1595
  },
1331
1596
  {
1332
1597
  code: "007.023.0001",
1333
1598
  error: "search.invalid.filter",
1334
- message: "The value of the filter property 'field' is invalid"
1599
+ message: "The value of the filter property 'field' is invalid",
1600
+ shortMessage: "Invalid search filter"
1335
1601
  },
1336
1602
  {
1337
1603
  code: "007.026.0001",
1338
1604
  error: "invalid.filesize",
1339
- message: "The maximum allowed file size is :filesize: kb"
1605
+ message: "The maximum allowed file size is :filesize: kb",
1606
+ shortMessage: "File size exceeds limit"
1340
1607
  },
1341
1608
  {
1342
1609
  code: "007.026.0002",
1343
1610
  error: "invalid.mimetype",
1344
- message: "File type ':mimetype:' is not allowed"
1611
+ message: "File type ':mimetype:' is not allowed",
1612
+ shortMessage: "File type not allowed"
1345
1613
  },
1346
1614
  {
1347
1615
  code: "007.026.0003",
1348
1616
  error: "image.processing.error",
1349
- message: "custom message"
1617
+ message: "custom message",
1618
+ shortMessage: "Image processing failed"
1350
1619
  },
1351
1620
  {
1352
1621
  code: "007.026.0004",
1353
1622
  error: "file.transfer.error",
1354
- message: "custom message"
1623
+ message: "custom message",
1624
+ shortMessage: "File transfer failed"
1355
1625
  },
1356
1626
  {
1357
1627
  code: "008.000.0002",
1358
1628
  error: "internal.server.error",
1359
- message: "Specific message describing the problem"
1629
+ message: "Specific message describing the problem",
1630
+ shortMessage: "Internal server error"
1360
1631
  },
1361
1632
  {
1362
1633
  code: "008.000.0003",
1363
1634
  error: "invalid.parameter",
1364
- message: "Failed to validate 'type' parameter 'paramKey' - specificMessage"
1635
+ message: "Failed to validate 'type' parameter 'paramKey' - specificMessage",
1636
+ shortMessage: "Invalid parameter"
1365
1637
  },
1366
1638
  {
1367
1639
  code: "008.000.0004",
1368
1640
  error: "invalid.body",
1369
- message: "Detailed message"
1641
+ message: "Detailed message",
1642
+ shortMessage: "Invalid request body"
1370
1643
  },
1371
1644
  {
1372
1645
  code: "008.000.0005",
1373
1646
  error: "payload.too.large",
1374
- message: "Payload sent is too large. Maximum is {{maxSize}}"
1647
+ message: "Payload sent is too large. Maximum is {{maxSize}}",
1648
+ shortMessage: "Payload too large"
1375
1649
  },
1376
1650
  {
1377
1651
  code: "008.000.0006",
1378
1652
  error: "not.implemented",
1379
- message: "Feature not implemented"
1653
+ message: "Feature not implemented",
1654
+ shortMessage: "Feature not implemented"
1380
1655
  },
1381
1656
  {
1382
1657
  code: "008.000.0007",
1383
1658
  error: "empty.update",
1384
- message: "Update with no changes attempted"
1659
+ message: "Update with no changes attempted",
1660
+ shortMessage: "Update contains no changes"
1385
1661
  },
1386
1662
  {
1387
1663
  code: "008.000.0008",
1388
1664
  error: "unsupported",
1389
- message: "Unsupported: {{message}}"
1665
+ message: "Unsupported: {{message}}",
1666
+ shortMessage: "Unsupported operation"
1390
1667
  },
1391
1668
  {
1392
1669
  code: "008.001.0001",
1393
1670
  error: "unauthorized",
1394
- message: "You're not authorized"
1671
+ message: "You're not authorized",
1672
+ shortMessage: "Not authorized"
1395
1673
  },
1396
1674
  {
1397
1675
  code: "008.001.0002",
1398
1676
  error: "missing.auth.token",
1399
- message: "Expected an authentication token that has not been provided"
1677
+ message: "Expected an authentication token that has not been provided",
1678
+ shortMessage: "Missing authentication token"
1400
1679
  },
1401
1680
  {
1402
1681
  code: "008.001.0003",
1403
1682
  error: "wrong.auth.token",
1404
- message: "Your authentication token is invalid"
1683
+ message: "Your authentication token is invalid",
1684
+ shortMessage: "Invalid authentication token"
1405
1685
  },
1406
1686
  {
1407
1687
  code: "008.001.0004",
1408
1688
  error: "insufficient.rights",
1409
- message: "You have not enough rights to access/manipulate this resource"
1689
+ message: "You have not enough rights to access/manipulate this resource",
1690
+ shortMessage: "Insufficient rights"
1410
1691
  },
1411
1692
  {
1412
1693
  code: "008.002.0001",
1413
1694
  error: "organization.member.not.found",
1414
- message: "User is not member of the organization"
1695
+ message: "User is not member of the organization",
1696
+ shortMessage: "Organization member not found"
1415
1697
  },
1416
1698
  {
1417
1699
  code: "008.007.0001",
1418
1700
  error: "organization.not.found",
1419
- message: "Organization not found"
1701
+ message: "Organization not found",
1702
+ shortMessage: "Organization not found"
1420
1703
  },
1421
1704
  {
1422
1705
  code: "008.023.0001",
1423
1706
  error: "search.invalid.filter",
1424
- message: "The value of the filter property 'field' is invalid"
1707
+ message: "The value of the filter property 'field' is invalid",
1708
+ shortMessage: "Invalid search filter"
1425
1709
  },
1426
1710
  {
1427
1711
  code: "008.030.0001",
1428
1712
  error: "agent.not.found",
1429
- message: "Agent not found"
1713
+ message: "Agent not found",
1714
+ shortMessage: "Agent not found"
1430
1715
  },
1431
1716
  {
1432
1717
  code: "008.030.0002",
1433
1718
  error: "agent.offline",
1434
- message: "Agent is offline"
1719
+ message: "Agent is offline",
1720
+ shortMessage: "Agent offline"
1435
1721
  },
1436
1722
  {
1437
1723
  code: "008.030.0003",
1438
1724
  error: "agent.online",
1439
- message: "Agent is online"
1725
+ message: "Agent is online",
1726
+ shortMessage: "Agent online"
1440
1727
  },
1441
1728
  {
1442
1729
  code: "008.030.0004",
1443
1730
  error: "agent.already.connected",
1444
- message: "Agent already connected to this organization."
1731
+ message: "Agent already connected to this organization.",
1732
+ shortMessage: "Agent already connected"
1445
1733
  },
1446
1734
  {
1447
1735
  code: "008.030.0005",
1448
1736
  error: "agent.not.connected",
1449
- message: "Agent not connected"
1737
+ message: "Agent not connected",
1738
+ shortMessage: "Agent not connected"
1450
1739
  },
1451
1740
  {
1452
1741
  code: "008.032.0001",
1453
1742
  error: "license.quota.exceeded",
1454
- message: "You have exceeded the assigned quota for this action."
1743
+ message: "You have exceeded the assigned quota for this action.",
1744
+ shortMessage: "License quota exceeded"
1455
1745
  },
1456
1746
  {
1457
1747
  code: "009.000.0002",
1458
1748
  error: "internal.server.error",
1459
- message: "Specific message describing the problem"
1749
+ message: "Specific message describing the problem",
1750
+ shortMessage: "Internal server error"
1460
1751
  },
1461
1752
  {
1462
1753
  code: "009.000.0003",
1463
1754
  error: "invalid.parameter",
1464
- message: "Failed to validate 'type' parameter 'paramKey' - specificMessage"
1755
+ message: "Failed to validate 'type' parameter 'paramKey' - specificMessage",
1756
+ shortMessage: "Invalid parameter"
1465
1757
  },
1466
1758
  {
1467
1759
  code: "009.000.0004",
1468
1760
  error: "invalid.body",
1469
- message: "Detailed message"
1761
+ message: "Detailed message",
1762
+ shortMessage: "Invalid request body"
1470
1763
  },
1471
1764
  {
1472
1765
  code: "009.000.0005",
1473
1766
  error: "payload.too.large",
1474
- message: "Payload sent is too large. Maximum is {{maxSize}}"
1767
+ message: "Payload sent is too large. Maximum is {{maxSize}}",
1768
+ shortMessage: "Payload too large"
1475
1769
  },
1476
1770
  {
1477
1771
  code: "009.000.0006",
1478
1772
  error: "not.implemented",
1479
- message: "Feature not implemented"
1773
+ message: "Feature not implemented",
1774
+ shortMessage: "Feature not implemented"
1480
1775
  },
1481
1776
  {
1482
1777
  code: "009.000.0007",
1483
1778
  error: "empty.update",
1484
- message: "Update with no changes attempted"
1779
+ message: "Update with no changes attempted",
1780
+ shortMessage: "Update contains no changes"
1485
1781
  },
1486
1782
  {
1487
1783
  code: "009.000.0008",
1488
1784
  error: "unsupported",
1489
- message: "Unsupported: {{message}}"
1785
+ message: "Unsupported: {{message}}",
1786
+ shortMessage: "Unsupported operation"
1490
1787
  },
1491
1788
  {
1492
1789
  code: "009.001.0001",
1493
1790
  error: "unauthorized",
1494
- message: "You're not authorized"
1791
+ message: "You're not authorized",
1792
+ shortMessage: "Not authorized"
1495
1793
  },
1496
1794
  {
1497
1795
  code: "009.001.0002",
1498
1796
  error: "missing.auth.token",
1499
- message: "Expected an authentication token that has not been provided"
1797
+ message: "Expected an authentication token that has not been provided",
1798
+ shortMessage: "Missing authentication token"
1500
1799
  },
1501
1800
  {
1502
1801
  code: "009.001.0003",
1503
1802
  error: "wrong.auth.token",
1504
- message: "Your authentication token is invalid"
1803
+ message: "Your authentication token is invalid",
1804
+ shortMessage: "Invalid authentication token"
1505
1805
  },
1506
1806
  {
1507
1807
  code: "009.001.0004",
1508
1808
  error: "insufficient.rights",
1509
- message: "You have not enough rights to access/manipulate this resource"
1809
+ message: "You have not enough rights to access/manipulate this resource",
1810
+ shortMessage: "Insufficient rights"
1510
1811
  },
1511
1812
  {
1512
1813
  code: "009.005.0001",
1513
1814
  error: "user.not.found",
1514
- message: "User not found in the space"
1815
+ message: "User not found in the space",
1816
+ shortMessage: "User not found in space"
1515
1817
  },
1516
1818
  {
1517
1819
  code: "009.008.0001",
1518
1820
  error: "team.not.found",
1519
- message: "Team does not exist"
1821
+ message: "Team does not exist",
1822
+ shortMessage: "Team not found"
1520
1823
  },
1521
1824
  {
1522
1825
  code: "009.010.0001",
1523
1826
  error: "space.not.found",
1524
- message: "Given space not found"
1827
+ message: "Given space not found",
1828
+ shortMessage: "Space not found"
1525
1829
  },
1526
1830
  {
1527
1831
  code: "009.010.0002",
1528
1832
  error: "space.name.in.use",
1529
- message: "Given space name is already in use"
1833
+ message: "Given space name is already in use",
1834
+ shortMessage: "Space name already in use"
1530
1835
  },
1531
1836
  {
1532
1837
  code: "009.023.0001",
1533
1838
  error: "search.invalid.filter",
1534
- message: "The value of the filter property 'field' is invalid"
1839
+ message: "The value of the filter property 'field' is invalid",
1840
+ shortMessage: "Invalid search filter"
1535
1841
  },
1536
1842
  {
1537
1843
  code: "009.037.0001",
1538
1844
  error: "item.not.found",
1539
- message: "Item not found"
1845
+ message: "Item not found",
1846
+ shortMessage: "Item not found"
1540
1847
  },
1541
1848
  {
1542
1849
  code: "009.037.0002",
1543
1850
  error: "item.in.trash",
1544
- message: "Item is in trash"
1851
+ message: "Item is in trash",
1852
+ shortMessage: "Item in trash"
1545
1853
  },
1546
1854
  {
1547
1855
  code: "009.037.0003",
1548
1856
  error: "new.parent.inside.item",
1549
- message: "The item is being copied/moved into one of its own children"
1857
+ message: "The item is being copied/moved into one of its own children",
1858
+ shortMessage: "Cannot move item into its own child"
1550
1859
  },
1551
1860
  {
1552
1861
  code: "009.038.0001",
1553
1862
  error: "asset.not.found",
1554
- message: "Asset not found"
1863
+ message: "Asset not found",
1864
+ shortMessage: "Asset not found"
1555
1865
  },
1556
1866
  {
1557
1867
  code: "009.038.0002",
1558
1868
  error: "operation.not.permitted",
1559
- message: "Operation not permitted on asset - '{{reason}}'"
1869
+ message: "Operation not permitted on asset - '{{reason}}'",
1870
+ shortMessage: "Operation not permitted on asset"
1560
1871
  },
1561
1872
  {
1562
1873
  code: "009.039.0001",
1563
1874
  error: "folder.not.found",
1564
- message: "Folder not found"
1875
+ message: "Folder not found",
1876
+ shortMessage: "Folder not found"
1565
1877
  },
1566
1878
  {
1567
1879
  code: "009.039.0002",
1568
1880
  error: "folder.not.empty",
1569
- message: "Folder not empty"
1881
+ message: "Folder not empty",
1882
+ shortMessage: "Folder not empty"
1570
1883
  },
1571
1884
  {
1572
1885
  code: "009.040.0001",
1573
1886
  error: "namespace.not.found",
1574
- message: "Namespace not found"
1887
+ message: "Namespace not found",
1888
+ shortMessage: "Namespace not found"
1575
1889
  },
1576
1890
  {
1577
1891
  code: "009.040.0002",
1578
1892
  error: "namespace.exists",
1579
- message: "Namespace already exists"
1893
+ message: "Namespace already exists",
1894
+ shortMessage: "Namespace already exists"
1580
1895
  },
1581
1896
  {
1582
1897
  code: "009.041.0001",
1583
1898
  error: "media.not.found",
1584
- message: "Media not found"
1899
+ message: "Media not found",
1900
+ shortMessage: "Media not found"
1585
1901
  },
1586
1902
  {
1587
1903
  code: "009.042.0001",
1588
1904
  error: "location.not.found",
1589
- message: "Location not found"
1905
+ message: "Location not found",
1906
+ shortMessage: "Location not found"
1590
1907
  },
1591
1908
  {
1592
1909
  code: "009.043.0001",
1593
1910
  error: "comment.not.found",
1594
- message: "Comment not found"
1911
+ message: "Comment not found",
1912
+ shortMessage: "Comment not found"
1595
1913
  },
1596
1914
  {
1597
1915
  code: "009.045.0001",
1598
1916
  error: "share.not.found",
1599
- message: "Share not found"
1917
+ message: "Share not found",
1918
+ shortMessage: "Share not found"
1600
1919
  },
1601
1920
  {
1602
1921
  code: "009.045.0002",
1603
1922
  error: "empty.share",
1604
- message: "A share must contain at least one asset or folder on creation."
1923
+ message: "A share must contain at least one asset or folder on creation.",
1924
+ shortMessage: "Share must contain an asset or folder"
1605
1925
  },
1606
1926
  {
1607
1927
  code: "009.045.0003",
1608
1928
  error: "invalid.password",
1609
- message: "The provided password does not match the share's password."
1929
+ message: "The provided password does not match the share's password.",
1930
+ shortMessage: "Invalid share password"
1610
1931
  },
1611
1932
  {
1612
1933
  code: "009.045.0004",
1613
1934
  error: "invalid.share.hmac",
1614
- message: "The HMAC supplied is incorrect."
1935
+ message: "The HMAC supplied is incorrect.",
1936
+ shortMessage: "Invalid share HMAC"
1615
1937
  },
1616
1938
  {
1617
1939
  code: "009.045.0005",
1618
1940
  error: "share.expired",
1619
- message: "Share expired"
1941
+ message: "Share expired",
1942
+ shortMessage: "Share expired"
1620
1943
  },
1621
1944
  {
1622
1945
  code: "009.045.0006",
1623
1946
  error: "not.linked.to.share",
1624
- message: "Impossible to access shared assets if not linked to share"
1947
+ message: "Impossible to access shared assets if not linked to share",
1948
+ shortMessage: "Not linked to share"
1625
1949
  },
1626
1950
  {
1627
1951
  code: "009.045.0007",
1628
1952
  error: "invitation.to.share.not.found",
1629
- message: "Invitation to share not found"
1953
+ message: "Invitation to share not found",
1954
+ shortMessage: "Share invitation not found"
1630
1955
  },
1631
1956
  {
1632
1957
  code: "009.045.0008",
1633
1958
  error: "share.not.available",
1634
- message: "Share not available yet"
1959
+ message: "Share not available yet",
1960
+ shortMessage: "Share not available yet"
1635
1961
  },
1636
1962
  {
1637
1963
  code: "009.045.0009",
1638
1964
  error: "share.inactive",
1639
- message: "Share is inactive"
1965
+ message: "Share is inactive",
1966
+ shortMessage: "Share inactive"
1640
1967
  },
1641
1968
  {
1642
1969
  code: "009.045.0010",
1643
1970
  error: "share.link.invalid",
1644
- message: "Share link is no longer valid because the space was renamed"
1971
+ message: "Share link is no longer valid because the space was renamed",
1972
+ shortMessage: "Share link no longer valid"
1645
1973
  },
1646
1974
  {
1647
1975
  code: "009.047.0001",
1648
1976
  error: "tag.max.count.reached",
1649
- message: "Maximum number of tags reached for namespace"
1977
+ message: "Maximum number of tags reached for namespace",
1978
+ shortMessage: "Maximum number of tags reached"
1650
1979
  },
1651
1980
  {
1652
1981
  code: "009.047.0002",
1653
1982
  error: "tag.exists",
1654
- message: "Tag already exists in the namespace"
1983
+ message: "Tag already exists in the namespace",
1984
+ shortMessage: "Tag already exists"
1655
1985
  },
1656
1986
  {
1657
1987
  code: "009.047.0003",
1658
1988
  error: "tag.not.found",
1659
- message: "Tag not found in the namespace"
1989
+ message: "Tag not found in the namespace",
1990
+ shortMessage: "Tag not found"
1660
1991
  },
1661
1992
  {
1662
1993
  code: "009.047.0004",
1663
1994
  error: "tag.name.protected",
1664
- message: "Tag name is protected"
1995
+ message: "Tag name is protected",
1996
+ shortMessage: "Tag name is protected"
1665
1997
  },
1666
1998
  {
1667
1999
  code: "009.047.0005",
1668
2000
  error: "tag.reorder.mismatch",
1669
- message: "Provided tag IDs do not match the tags in this namespace"
2001
+ message: "Provided tag IDs do not match the tags in this namespace",
2002
+ shortMessage: "Tag reorder mismatch"
1670
2003
  },
1671
2004
  {
1672
2005
  code: "009.048.0001",
1673
2006
  error: "role.already.exists",
1674
- message: "A role with the same name already exists in the space"
2007
+ message: "A role with the same name already exists in the space",
2008
+ shortMessage: "Role already exists"
1675
2009
  },
1676
2010
  {
1677
2011
  code: "009.048.0002",
1678
2012
  error: "permission.category.mismatch",
1679
- message: "A permission was assigned to an entity that does not match the permission category. {{name}}: {{incoming}} assigned to {{actual}}"
2013
+ message: "A permission was assigned to an entity that does not match the permission category. {{name}}: {{incoming}} assigned to {{actual}}",
2014
+ shortMessage: "Permission category mismatch"
1680
2015
  },
1681
2016
  {
1682
2017
  code: "009.048.0003",
1683
2018
  error: "role.not.found",
1684
- message: "Role not found"
2019
+ message: "Role not found",
2020
+ shortMessage: "Role not found"
1685
2021
  },
1686
2022
  {
1687
2023
  code: "009.049.0001",
1688
2024
  error: "bunny.library.not.found",
1689
- message: "Bunny Stream library not found"
2025
+ message: "Bunny Stream library not found",
2026
+ shortMessage: "Bunny Stream library not found"
1690
2027
  },
1691
2028
  {
1692
2029
  code: "009.050.0001",
1693
2030
  error: "hc.uploader.library.not.found",
1694
- message: "Hc Uploader Stream library not found"
2031
+ message: "Hc Uploader Stream library not found",
2032
+ shortMessage: "Uploader library not found"
1695
2033
  },
1696
2034
  {
1697
2035
  code: "009.050.0002",
1698
2036
  error: "hc.uploader.waveform.not.found",
1699
- message: "Hc Uploader Video waveform not found"
2037
+ message: "Hc Uploader Video waveform not found",
2038
+ shortMessage: "Video waveform not found"
1700
2039
  },
1701
2040
  {
1702
2041
  code: "009.054.0001",
1703
2042
  error: "stack.not.found",
1704
- message: "Stack not found"
2043
+ message: "Stack not found",
2044
+ shortMessage: "Stack not found"
1705
2045
  },
1706
2046
  {
1707
2047
  code: "009.054.0002",
1708
2048
  error: "asset.not.in.stack",
1709
- message: "One or more specified assets are not part of the stack"
2049
+ message: "One or more specified assets are not part of the stack",
2050
+ shortMessage: "Asset not in stack"
1710
2051
  },
1711
2052
  {
1712
2053
  code: "009.054.0003",
1713
2054
  error: "asset.already.in.stack",
1714
- message: "One or more specified assets are already part of the stack"
2055
+ message: "One or more specified assets are already part of the stack",
2056
+ shortMessage: "Asset already in stack"
1715
2057
  },
1716
2058
  {
1717
2059
  code: "009.054.0004",
1718
2060
  error: "stack.must.have.multiple.assets",
1719
- message: "A stack cannot be composed of a single asset"
2061
+ message: "A stack cannot be composed of a single asset",
2062
+ shortMessage: "Stack must have multiple assets"
1720
2063
  },
1721
2064
  {
1722
2065
  code: "009.055.0001",
1723
2066
  error: "storage.space.not.empty",
1724
- message: "Cannot change storage of a space that contains media assets"
2067
+ message: "Cannot change storage of a space that contains media assets",
2068
+ shortMessage: "Space contains media assets"
1725
2069
  },
1726
2070
  {
1727
2071
  code: "009.055.0003",
1728
2072
  error: "storage.not.found",
1729
- message: "Storage not found"
2073
+ message: "Storage not found",
2074
+ shortMessage: "Storage not found"
1730
2075
  },
1731
2076
  {
1732
2077
  code: "009.055.0004",
1733
2078
  error: "storage.invalid",
1734
- message: "Invalid storage configuration. Please run test in idp in order to validate. If still invalid, please recheck the storage configuration and/or contact your cloud storage administrator."
2079
+ message: "Invalid storage configuration. Please run test in idp in order to validate. If still invalid, please recheck the storage configuration and/or contact your cloud storage administrator.",
2080
+ shortMessage: "Invalid storage configuration"
1735
2081
  },
1736
2082
  {
1737
2083
  code: "009.057.0001",
1738
2084
  error: "address.book.not.found",
1739
- message: "Address book not found"
2085
+ message: "Address book not found",
2086
+ shortMessage: "Address book not found"
1740
2087
  },
1741
2088
  {
1742
2089
  code: "009.057.0002",
1743
2090
  error: "address.book.name.in.use",
1744
- message: "An address book with this name already exists in the space"
2091
+ message: "An address book with this name already exists in the space",
2092
+ shortMessage: "Address book name already in use"
1745
2093
  },
1746
2094
  {
1747
2095
  code: "010.000.0002",
1748
2096
  error: "internal.server.error",
1749
- message: "Specific message describing the problem"
2097
+ message: "Specific message describing the problem",
2098
+ shortMessage: "Internal server error"
1750
2099
  },
1751
2100
  {
1752
2101
  code: "010.000.0003",
1753
2102
  error: "invalid.parameter",
1754
- message: "Failed to validate 'type' parameter 'paramKey' - specificMessage"
2103
+ message: "Failed to validate 'type' parameter 'paramKey' - specificMessage",
2104
+ shortMessage: "Invalid parameter"
1755
2105
  },
1756
2106
  {
1757
2107
  code: "010.000.0004",
1758
2108
  error: "invalid.body",
1759
- message: "Detailed message"
2109
+ message: "Detailed message",
2110
+ shortMessage: "Invalid request body"
1760
2111
  },
1761
2112
  {
1762
2113
  code: "010.000.0005",
1763
2114
  error: "payload.too.large",
1764
- message: "Payload sent is too large. Maximum is {{maxSize}}"
2115
+ message: "Payload sent is too large. Maximum is {{maxSize}}",
2116
+ shortMessage: "Payload too large"
1765
2117
  },
1766
2118
  {
1767
2119
  code: "010.000.0006",
1768
2120
  error: "not.implemented",
1769
- message: "Feature not implemented"
2121
+ message: "Feature not implemented",
2122
+ shortMessage: "Feature not implemented"
1770
2123
  },
1771
2124
  {
1772
2125
  code: "010.000.0007",
1773
2126
  error: "empty.update",
1774
- message: "Update with no changes attempted"
2127
+ message: "Update with no changes attempted",
2128
+ shortMessage: "Update contains no changes"
1775
2129
  },
1776
2130
  {
1777
2131
  code: "010.000.0008",
1778
2132
  error: "unsupported",
1779
- message: "Unsupported: {{message}}"
2133
+ message: "Unsupported: {{message}}",
2134
+ shortMessage: "Unsupported operation"
1780
2135
  },
1781
2136
  {
1782
2137
  code: "010.001.0001",
1783
2138
  error: "unauthorized",
1784
- message: "You're not authorized"
2139
+ message: "You're not authorized",
2140
+ shortMessage: "Not authorized"
1785
2141
  },
1786
2142
  {
1787
2143
  code: "010.001.0002",
1788
2144
  error: "missing.auth.token",
1789
- message: "Expected an authentication token that has not been provided"
2145
+ message: "Expected an authentication token that has not been provided",
2146
+ shortMessage: "Missing authentication token"
1790
2147
  },
1791
2148
  {
1792
2149
  code: "010.001.0003",
1793
2150
  error: "wrong.auth.token",
1794
- message: "Your authentication token is invalid"
2151
+ message: "Your authentication token is invalid",
2152
+ shortMessage: "Invalid authentication token"
1795
2153
  },
1796
2154
  {
1797
2155
  code: "010.001.0004",
1798
2156
  error: "insufficient.rights",
1799
- message: "You have not enough rights to access/manipulate this resource"
2157
+ message: "You have not enough rights to access/manipulate this resource",
2158
+ shortMessage: "Insufficient rights"
1800
2159
  },
1801
2160
  {
1802
2161
  code: "010.023.0001",
1803
2162
  error: "search.invalid.filter",
1804
- message: "The value of the filter property 'field' is invalid"
2163
+ message: "The value of the filter property 'field' is invalid",
2164
+ shortMessage: "Invalid search filter"
1805
2165
  },
1806
2166
  {
1807
2167
  code: "010.046.0001",
1808
2168
  error: "short.not.found",
1809
- message: "Given short URL not found"
2169
+ message: "Given short URL not found",
2170
+ shortMessage: "Short URL not found"
1810
2171
  },
1811
2172
  {
1812
2173
  code: "011.000.0002",
1813
2174
  error: "internal.server.error",
1814
- message: "Specific message describing the problem"
2175
+ message: "Specific message describing the problem",
2176
+ shortMessage: "Internal server error"
1815
2177
  },
1816
2178
  {
1817
2179
  code: "011.000.0003",
1818
2180
  error: "invalid.parameter",
1819
- message: "Failed to validate 'type' parameter 'paramKey' - specificMessage"
2181
+ message: "Failed to validate 'type' parameter 'paramKey' - specificMessage",
2182
+ shortMessage: "Invalid parameter"
1820
2183
  },
1821
2184
  {
1822
2185
  code: "011.000.0004",
1823
2186
  error: "invalid.body",
1824
- message: "Detailed message"
2187
+ message: "Detailed message",
2188
+ shortMessage: "Invalid request body"
1825
2189
  },
1826
2190
  {
1827
2191
  code: "011.000.0005",
1828
2192
  error: "payload.too.large",
1829
- message: "Payload sent is too large. Maximum is {{maxSize}}"
2193
+ message: "Payload sent is too large. Maximum is {{maxSize}}",
2194
+ shortMessage: "Payload too large"
1830
2195
  },
1831
2196
  {
1832
2197
  code: "011.000.0006",
1833
2198
  error: "not.implemented",
1834
- message: "Feature not implemented"
2199
+ message: "Feature not implemented",
2200
+ shortMessage: "Feature not implemented"
1835
2201
  },
1836
2202
  {
1837
2203
  code: "011.000.0007",
1838
2204
  error: "empty.update",
1839
- message: "Update with no changes attempted"
2205
+ message: "Update with no changes attempted",
2206
+ shortMessage: "Update contains no changes"
1840
2207
  },
1841
2208
  {
1842
2209
  code: "011.000.0008",
1843
2210
  error: "unsupported",
1844
- message: "Unsupported: {{message}}"
2211
+ message: "Unsupported: {{message}}",
2212
+ shortMessage: "Unsupported operation"
1845
2213
  },
1846
2214
  {
1847
2215
  code: "011.001.0001",
1848
2216
  error: "unauthorized",
1849
- message: "You're not authorized"
2217
+ message: "You're not authorized",
2218
+ shortMessage: "Not authorized"
1850
2219
  },
1851
2220
  {
1852
2221
  code: "011.001.0002",
1853
2222
  error: "missing.auth.token",
1854
- message: "Expected an authentication token that has not been provided"
2223
+ message: "Expected an authentication token that has not been provided",
2224
+ shortMessage: "Missing authentication token"
1855
2225
  },
1856
2226
  {
1857
2227
  code: "011.001.0003",
1858
2228
  error: "wrong.auth.token",
1859
- message: "Your authentication token is invalid"
2229
+ message: "Your authentication token is invalid",
2230
+ shortMessage: "Invalid authentication token"
1860
2231
  },
1861
2232
  {
1862
2233
  code: "011.001.0004",
1863
2234
  error: "insufficient.rights",
1864
- message: "You have not enough rights to access/manipulate this resource"
2235
+ message: "You have not enough rights to access/manipulate this resource",
2236
+ shortMessage: "Insufficient rights"
1865
2237
  },
1866
2238
  {
1867
2239
  code: "011.023.0001",
1868
2240
  error: "search.invalid.filter",
1869
- message: "The value of the filter property 'field' is invalid"
2241
+ message: "The value of the filter property 'field' is invalid",
2242
+ shortMessage: "Invalid search filter"
1870
2243
  }
1871
2244
  ];