You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Если в процессе выполнения происходит ошибка, то возвращается поле 'status' следующего формата:

"status": {
    "code": 10127,
     "description": "Password strength validation: password too short",
     "message": "Bad Request",
     "status": 400
}

Описание параметров:

'code' - код возврата сервиса на недопустимую операцию

'description' - описание недопустимой операции

'status' - дублирование кода HTTP ответа

'message' - дублирование описания HTTP ответа


Коды ошибок и их описание:

КодОписание
401User unauthorized
10101Product with the same number and modification already exists
10102Attempt to edit the product that has been sold yet
10103Attempt to remove the product that has been sold yet
10104Feature with the same number already exists
10105Attempt to delete the feature that was assigned to one or more products
10106Specified rent time and subscription days at the same time
10107Attempt to edit the order that has been submitted yet
10108Attempt to remove the order that has been submitted yet
10109Attempt to exclude a feature that is not marked as excluded
10110Attempt to delete the product that was assigned to one or more orders
10111Attempt to delete the feature from product that was assigned to one or more orders
10112Attempt to sumbit order with a product that does not have features
10113Operation allowed only for update orders
10114Serial number doesn't present in database
10115Feature already exists in product
10119Invalid serial number
10120User email unverified
10121User with such username is not registered
10122Invalid user password
10123Throttling detected
10124Username name too short
10125Incorrect email address
10126Username already exists
10127Password strength validation failed
10128Confirmation password doesn't match
10129The requested object was not found in the database
10130Product does not contain feature
10131Can't modify yourself
10135Insufficient rights for this operation
10136Can't add one more user with admin role
10137Attempt to delete the customer that was assigned to one or more orders
10138No valid order to create update order
10139Addition of the product with different access codes to the order is not allowed
  • No labels