Error codes

Code

Description

WsaCommandHandling

Command processing error

WsaCommandNotSupportedThe agent does not support the command
WsaConnectionSettingsUpdatingErrorFailed to update WhiteServer connection settings
WsaDuplicateOrderAn order with an external ID has already been received by the agent for creation
WsaFillingOrderErrorError filling created empty order in r_keeper. For example, printer is not available
WsaHandshakeErrorCrash when reporting to WhiteServer about Agent starting
WsaHttpRequestError sending HTTP request
WsaHttpStatusHTTP response status is different from 200 OK
WsaInvalidSettingsIncorrect settings, such as logging settings
WsaInvalidWsConnectionSettingsIncorrect connection settings to WhiteServer
WsaLogNotFoundErrorThe requested log file was not found.
WsaNoOneGuidSpecifiedForOrderSearchingNeither the r_keeper order ID nor the task ID for creating the order are specified for searching the order
WsaOrderCanceledOnKassOrder creation rejected at cash register
WsaOrderCanceledOnKassThe task of creating an order was cancelled at the cash register
WsaOrderCreationCancellationError canceling the order being created. The order creation had to be canceled, but an error occurred
WsaOrderCreationCancelledOrder creation was terminated due to an internal error.
WsaOrderCreationComboComponentNotFoundThe combo dish component from the order was not found in the menu
WsaOrderCreationDishNotFoundThe dish from the order was not found on the menu
WsaOrderCreationSelectorNotFoundNo menu selector found with the specified dish
WsaOrderErrorGeneral error when working with r_keeper orders
WsaOrderIgnoredOnPosThe cashier did not have time to respond to the order if the automatic order creation is disabled in the Agent configuration
WsaOrderingPreferencesErrorIncorrect configuration of the order handling mechanism
WsaOrderingSettingNotSpecifiedA configuration parameter required to process the order is not specified.
WsaOrderMenuIsUnknownErrorThe menu was not requested before creating the order. May occur shortly after the initial installation of the Agent
WsaOrderValidationErrorOrder validation error in r_keeper
WsaParseErrorError parsing Json response from WhiteServer
WsaPluginExceptionAn exception occurred while processing a task by the plugin.
WsaPriceNotSpecifiedForOnlineOrderFor the online order being created, the price is not specified — price.total
WsaRk7QueryParseErrorError parsing XML request to r_keeper while processing task ExecuteRk7Query
WsaSendRequestError sending request to WhiteServer
WsaSh5ErrorGeneral task processing error for Store House
WsaSh5ProcedureNotAlowedCalling the specified procedure is prohibited.
WsaSh5ProcedureNotSpecifiedThe request to Store House does not specify the procedure name
WsaSqlErrorError processing task to execute query to SQL server r_keeper report server
WsaUpdatingErrorError installing service pack
WsErrorError sent by WhiteServer
Name of the .net exception type
For example, InvalidOperationException

If for some reason an exception during task processing is not wrapped in the above exceptions, then an error of the type will be returned to WhiteServer
JSON

{
 
"code": "SomeDotNetException",
 
"desc": "Some description of the error"
 
}

For example, this is how exceptions thrown from plugins will be handled.

If the exception type has a public property named Code, then its string value will be placed in the code field of the Agent response.