Skip to content

Commit b0b756f

Browse files
authored
Update error messages and descriptions for consistency
1 parent 564758b commit b0b756f

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

concepts/backup-storage-error-codes.md

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The following table lists the possible error and response codes that can be retu
6161
|200|ProtectionUnitAlreadyExists|This is a delta patch ProtectionUnit level error returned when the request has duplicate Protection Unit in the list that is already present in the service.|ProtectionUnit level error: ProtectionUnit already exists.|
6262
|200|ProtectionUnitNotFound|This is a delta patch ProtectionUnit level error returned when the user requests to remove Protection Unit, which isn't present in the service.|ProtectionUnit level error: ProtectionUnit doesn't exist.|
6363
|400|DuplicateProtectionUnitInList|This is a Protection Unit level error returned when the request has duplicate artifacts in the list.|Protection Unit level error: Duplicate Protection Unit in list.|
64-
|400|ProtectionUnitActionNotAllowed|Artifact with given ProtectionUnitId cannot be removed as it is protected by a dynamic rule| Protection units protected via dynamic rules cannot removed manually.|
64+
|400|ProtectionUnitActionNotAllowed|The artifact with the given protection unit ID can't be removed as it's protected by a dynamic rule.| Protection units protected via dynamic rules can't be removed manually.|
6565
|404|PolicyNotFound|Thrown when the ID is valid but the policy doesn't exist.|Unable to get the Protection Policy.|
6666

6767
## Delete inactive protection policy API errors
@@ -252,87 +252,87 @@ The following table lists the possible error and response code that can be retur
252252
| HTTP status code| Error code| Error message | Description|
253253
|:------------------|:--------------|:--------------|:--------------|
254254
|400|InvalidInclusionRuleCreateRequest|Can't process the request because it's malformed or incorrect.|Invalid create request.|
255-
|400|InvalidRuleExpression|Value cannot be null or Invalid expression.|Expression is not valid and cannot be parsed.|
256-
|413|InvalidRuleExpressionGroupLimitExceeded|Rule expression containing more than 100 group ids is not allowed.|Expression contains more group id's than imposed limit.|
255+
|400|InvalidRuleExpression|Value can't be null or invalid expression.|The expression isn't valid and can't be parsed.|
256+
|413|InvalidRuleExpressionGroupLimitExceeded|Rule expression that contains more than 100 group IDs isn't allowed.|The expression contains more group IDs than the imposed limit allows.|
257257

258258
## Update inclusion rule API errors
259259

260260
The error codes in this section apply to the following APIs:
261261

262-
- [Update MailboxProtectionRule](/graph/api/protectionrulebase-update)
263-
- [Update DriveProtectionRule](/graph/api/protectionrulebase-update)
262+
- [Update driveProtectionRule](/graph/api/protectionrulebase-update)
263+
- [Update mailboxProtectionRule](/graph/api/protectionrulebase-update)
264264

265265
The following table lists the possible error and response codes that can be returned.
266266

267267
| HTTP status code| Error code| Error message | Description|
268268
|:------------------|:--------------|:--------------|:--------------|
269-
|400|InvalidRuleExpression|Value cannot be null or Invalid expression|Expression is not valid and cannot be parsed.|
270-
|400|PatchNotAllowedForStaticRule|Patch operation is not allowed for static rule|Invalid update request.|
271-
|400|InvalidProtectionRulePatchRequest|IsAutoApplyEnabled parameter is not supported in patch request.|`IsAutoApplyEnabled` can be supplied only at the time of creation. Conversion of static rule to dynamic rule and vice-versa is not allowed.|
272-
|400|InvalidProtectionRuleStatusForUpdation|Update operation is not allowed in current state.|Invalid state to invoke update operation.|
273-
|404|ProtectionRuleNotFound|Protection rule with given ID doesn't exists.|Rule ID given is either wrong or the rule is deleted.|
274-
|413|InvalidRuleExpressionGroupLimitExceeded|Rule expression containing more than 100 group ids is not allowed.|Expression contains more group id's than imposed limit.|
275-
|422|InvalidProtectionRuleStatusForDynamicRuleEdit|Patch operation is not allowed in current state.|Patch operation is not allowed in deleteRequested state.|
269+
|400|InvalidProtectionRulePatchRequest|The **isAutoApplyEnabled** parameter isn't supported in a patch request.|The **isAutoApplyEnabled** parameter can be supplied only at the time of creation. The conversion between a static rule and a dynamic rule, and vice versa, isn't allowed.|
270+
|400|InvalidProtectionRuleStatusForUpdation|Update operation isn't allowed in the current state.|Invalid state to invoke the update operation.|
271+
|400|InvalidRuleExpression|Value can't be null or invalid expression|The expression isn't valid and can't be parsed.|
272+
|400|PatchNotAllowedForStaticRule|Patch operation isn't allowed for a static rule.|Invalid update request.|
273+
|404|ProtectionRuleNotFound|Protection rule with the given ID doesn't exist.|The given rule ID is either incorrect or the rule was deleted.|
274+
|413|InvalidRuleExpressionGroupLimitExceeded|Rule expression that contains more than 100 group IDs isn't allowed.|The expression contains more group IDs than the imposed limit allows.|
275+
|422|InvalidProtectionRuleStatusForDynamicRuleEdit|Patch operation isn't allowed in the current state.|The patch operation isn't allowed in the `deleteRequested` state.|
276276

277-
## DeleteAndUnprotect inclusion rule API errors
277+
## Delete and unprotect inclusion rule API errors
278278

279-
The error codes in this section apply to the following API:
279+
The error codes in this section apply to the following APIs:
280280

281-
- [DeleteAndUnprotect MailboxProtectionRule](/graph/api/protectionrulebase-deleteandunprotect)
282-
- [DeleteAndUnprotect DriveProtectionRule](/graph/api/protectionrulebase-deleteandunprotect)
281+
- [driveProtectionRule: deleteAndUnprotect](/graph/api/protectionrulebase-deleteandunprotect)
282+
- [mailboxProtectionRule: deleteAndUnprotect](/graph/api/protectionrulebase-deleteandunprotect)
283283

284284
The following table lists the possible error and response code that can be returned.
285285

286286
| HTTP status code| Error code| Error message | Description|
287287
|:------------------|:--------------|:--------------|:--------------|
288-
|400|InvalidInclusionRuleId|Rule ID in request is invalid, null, or empty.|Rule ID is invalid.|
289-
|404|ProtectionRuleNotFound|Protection rule with given ID doesn't exists.|Rule ID given is either wrong or the rule is deleted.|
290-
|422|InvalidProtectionRuleStatusForDynamicRuleDeleteAndUnprotectAll|DeleteAndUnprotect operation is not allowed in current state.|Invalid state to invoke deleteandunprotect action.|
288+
|400|InvalidInclusionRuleId|Rule ID in the request is invalid, null, or empty.|The rule ID is invalid.|
289+
|404|ProtectionRuleNotFound|Protection rule with the given ID doesn't exist.|The given rule ID is either incorrect or the rule was deleted.|
290+
|422|InvalidProtectionRuleStatusForDynamicRuleDeleteAndUnprotectAll|The **deleteAndUnprotect** operation isn't allowed in the current state.|Invalid state to invoke the **deleteAndUnprotect** action.|
291291

292292
## Run inclusion rule API errors
293293

294-
The error codes in this section apply to the following API:
294+
The error codes in this section apply to the following APIs:
295295

296-
- [Run MailboxProtectionRule](/graph/api/protectionrulebase-run)
297-
- [Run DriveProtectionRule](/graph/api/protectionrulebase-run)
296+
- [Run driveProtectionRule](/graph/api/protectionrulebase-run)
297+
- [Run mailboxProtectionRule](/graph/api/protectionrulebase-run)
298298
- [Run siteProtectionRule](/graph/api/protectionrulebase-run)
299299

300-
The following table lists the possible error and response code that can be returned.
300+
The following table lists the possible error and response codes that can be returned.
301301

302302
| HTTP status code| Error code| Error message | Description|
303303
|:------------------|:--------------|:--------------|:--------------|
304-
|400|InvalidInclusionRuleId|Rule ID in request is invalid, null, or empty.|Rule ID is invalid.|
305-
|400|ProtectionRuleActionNotAllowed|Run action is not allowed for protection rule.|Invalid state for invoke run operation.|
306-
|400|RunNotAllowedForDynamicRule|Run operation is not allowed for dynamic rule|Invalid operation for dynamic rules.|
307-
|404|ProtectionRuleNotFound|Protection rule with given ID doesn't exists.|Rule ID given is either wrong or the rule is deleted.|
304+
|400|InvalidInclusionRuleId|Rule ID in the request is invalid, null, or empty.|The rule ID is invalid.|
305+
|400|ProtectionRuleActionNotAllowed|Run action isn't allowed for protection rule.|Invalid state to invoke the run action.|
306+
|400|RunNotAllowedForDynamicRule|Run operation isn't allowed for dynamic rule.|Invalid operation for dynamic rules.|
307+
|404|ProtectionRuleNotFound|Protection rule with the given ID doesn't exist.|The given rule ID is either incorrect or the rule was deleted.|
308308

309309
## Get inclusion rule by ID API errors
310310

311311
The error codes in this section apply to the following API:
312312

313313
- [Get protectionRuleBase](/graph/api/protectionrulebase-get)
314314

315-
The following table lists the possible error and response code that can be returned.
315+
The following table lists the possible error and response codes that can be returned.
316316

317317
| HTTP status code| Error code| Error message | Description|
318318
|:------------------|:--------------|:--------------|:--------------|
319-
|400|InvalidInclusionRuleId|Rule ID in request is invalid, null, or empty.|Rule ID is invalid.|
320-
|404|ProtectionRuleNotFound|Protection rule with given ID doesn't exists.|Rule ID given is either wrong or the rule is deleted.|
319+
|400|InvalidInclusionRuleId|Rule ID in the request is invalid, null, or empty.|The rule ID is invalid.|
320+
|404|ProtectionRuleNotFound|Protection rule with the given ID doesn't exist.|The given rule ID is either incorrect or the rule was deleted.|
321321

322322
## Delete inclusion rule by ID API errors
323323

324324
The error codes in this section apply to the following API:
325325

326326
- [Get protectionRuleBase](/graph/api/protectionrulebase-delete)
327327

328-
The following table lists the possible error and response code that can be returned.
328+
The following table lists the possible error and response codes that can be returned.
329329

330330
| HTTP status code| Error code| Error message | Description|
331331
|:------------------|:--------------|:--------------|:--------------|
332-
|400|InvalidInclusionRuleId|Rule ID in request is invalid, null, or empty.|Rule ID is invalid.|
333-
|400|InvalidProtectionRuleStatusForDeletion|Delete operation is not allowed in current state.|Invalid state to invoke delete operation.|
334-
|404|ProtectionRuleNotFound|Protection rule with given ID doesn't exists.|Rule ID given is either wrong or the rule is deleted.|
335-
|422|InvalidProtectionRuleStatusForDynamicRuleDeletion|Delete operation is not allowed in current state.|Invalid state to invoke delete operation on dynamic rule.|
332+
|400|InvalidInclusionRuleId|Rule ID in the request is invalid, null, or empty.|The rule ID is invalid.|
333+
|400|InvalidProtectionRuleStatusForDeletion|Delete operation isn't allowed in the current state.|Invalid state to invoke the delete operation.|
334+
|404|ProtectionRuleNotFound|Protection rule with the given ID doesn't exist.|The given rule ID is either incorrect or the rule was deleted.|
335+
|422|InvalidProtectionRuleStatusForDynamicRuleDeletion|Delete operation isn't allowed in the current state.|Invalid state to invoke the delete operation on a dynamic rule.|
336336

337337
## Get restore point API errors
338338

0 commit comments

Comments
 (0)