Contact support

Terminals & Devices

SY Face 910 Webservice - Device gives "Invalid" messages when swiping

Any time this happens, first thing to do is look at the logs on the server to see what is happening for that device

In this instance, the error message below

2018-07-30 14:07:43.8419 Info - SendFPU: Done. Status: 1. Message: . Duration: 00:00:00.1975001

2018-07-30 14:07:48.5369 Info - CRValidEmployee: id: 5974, utcTime: 30/07/2018 14:07:47, FunctionCode: 0, InputCode: 1, GetImage: False, SegundaValidacion: False

2018-07-30 14:07:48.5789 Error - CRValidEmployee: System.NullReferenceException: Object reference not set to an instance of an object. at WebService.Service1.CRValidEmployee(String id, DateTime utcTime, String FunctionCode, Int32 InputCode, Boolean GetImage, Boolean SegundaValidacion)

Problem lies here "FunctionCode: 0"

Function code cannot be 0. It needs to be 1 (IN) or 2 (OUT)

If its 0 it will give the error message "Object reference not set to an instance of an object"

Solution

Problem lies within setup of the device I.e. Work codes on the devices are not setup or enabled

  • 1 = IN
  • 2 = OUT

Enable and try again.. should work fine