diff --git a/proto-docs/status.md b/proto-docs/status.md index c1401bd..6444072 100644 --- a/proto-docs/status.md +++ b/proto-docs/status.md @@ -101,6 +101,7 @@ Section of failed statuses independent of the operation. | WRONG_MAGIC_NUMBER | 1 | [**1025**] Wrong magic of the NeoFS network. Details: - [**0**] Magic number of the served NeoFS network (big-endian 64-bit unsigned integer). | | SIGNATURE_VERIFICATION_FAIL | 2 | [**1026**] Signature verification failure. | | NODE_UNDER_MAINTENANCE | 3 | [**1027**] Node is under maintenance. | +| INVALID_ARGUMENT | 4 | [**1028**] Invalid argument error. If the server fails on validation of a request parameter as the client sent it incorrectly, then this code should be used. | diff --git a/status/types.proto b/status/types.proto index 2205abc..8d2d5c0 100644 --- a/status/types.proto +++ b/status/types.proto @@ -104,6 +104,10 @@ enum CommonFail { // [**1027**] Node is under maintenance. NODE_UNDER_MAINTENANCE = 3; + + // [**1028**] Invalid argument error. If the server fails on validation of a + // request parameter as the client sent it incorrectly, then this code should be used. + INVALID_ARGUMENT = 4; } // Section of statuses for object-related operations.