If an error occurs during execution, the 'status' field is returned in the following format:
"status": {
"code": 10127,
"description": "Password strength validation: password too short",
"message": "Bad Request",
"status": 400
}
Parameter description:
'code' - service return code for invalid operation
'description' - invalid operation description
'status' - duplication of HTTP response code
'message' - duplication of HTTP response description
Error codes and their description:
| Code | Description |
|---|---|
| 401 | User unauthorized |
| 10101 | Product with the same number and modification already exists |
| 10102 | Attempt to edit the product that has been sold yet |
| 10103 | Attempt to remove the product that has been sold yet |
| 10104 | Feature with the same number already exists |
| 10105 | Attempt to delete the feature that was assigned to one or more products |
| 10106 | Specified rent time and subscription days at the same time |
| 10107 | Attempt to edit the order that has been submitted yet |
| 10108 | Attempt to remove the order that has been submitted yet |
| 10109 | Attempt to exclude a feature that is not marked as excluded |
| 10110 | Attempt to delete the product that was assigned to one or more orders |
| 10111 | Attempt to delete the feature from product that was assigned to one or more orders |
| 10112 | Attempt to sumbit order with a product that does not have features |
| 10113 | Operation allowed only for update orders |
| 10114 | Serial number doesn't present in database |
| 10115 | Feature already exists in product |
| 10119 | Invalid serial number |
| 10120 | User email unverified |
| 10121 | User with such username is not registered |
| 10122 | Invalid user password |
| 10123 | Throttling detected |
| 10124 | Username name too short |
| 10125 | Incorrect email address |
| 10126 | Username already exists |
| 10127 | Password strength validation failed |
| 10128 | Confirmation password doesn't match |
| 10129 | The requested object was not found in the database |
| 10130 | Product does not contain feature |
| 10131 | Can't modify yourself |
| 10135 | Insufficient rights for this operation |
| 10136 | Can't add one more user with admin role |
| 10137 | Attempt to delete the customer that was assigned to one or more orders |
| 10138 | No valid order to create update order |
| 10139 | Addition of the product with different access codes to the order is not allowed |