The Activation API request returns an INVALID_REQUEST. The following is the logcat output. Any idea what may be wrong?
--------- beginning of /dev/log/main
09-15 19:40:41.947 2697-2697/co.poynt.setupwizard D/dalvikvm: GC_FOR_ALLOC freed 2155K, 15% free 15021K/17572K, paused 3ms, total 3ms
09-15 19:40:42.615 2728-2836/co.poynt.services I/CO.POYNT.SERVICES: Not running on a Poynt Terminal - disabling card reader
09-15 19:40:42.903 621-667/system_process D/MobileDataStateTracker: default: setPolicyDataEnable(enabled=true)
09-15 19:40:47.623 2728-2836/co.poynt.services I/CO.POYNT.SERVICES: Not running on a Poynt Terminal - disabling card reader
09-15 19:40:52.627 2728-2836/co.poynt.services I/CO.POYNT.SERVICES: Not running on a Poynt Terminal - disabling card reader
09-15 19:40:57.635 2728-2836/co.poynt.services I/CO.POYNT.SERVICES: Not running on a Poynt Terminal - disabling card reader
09-15 19:41:02.639 2728-2836/co.poynt.services I/CO.POYNT.SERVICES: Not running on a Poynt Terminal - disabling card reader
09-15 19:41:07.643 2728-2836/co.poynt.services I/CO.POYNT.SERVICES: Not running on a Poynt Terminal - disabling card reader
09-15 19:41:12.651 2728-2836/co.poynt.services I/CO.POYNT.SERVICES: Not running on a Poynt Terminal - disabling card reader
09-15 19:41:17.655 2728-2836/co.poynt.services I/CO.POYNT.SERVICES: Not running on a Poynt Terminal - disabling card reader
09-15 19:41:19.403 2697-2914/co.poynt.setupwizard D/ActivateStoreDeviceRequest: MEASURE_TIME Total write time 0 size:196 compressedSize:179
09-15 19:41:19.403 2728-2763/co.poynt.services D/ActivateStoreDeviceRequest: MEASURE_TIME Received bytes 179 json size:196
09-15 19:41:19.403 2728-2763/co.poynt.services D/ActivateStoreDeviceRequest: Gson Json string size:196
09-15 19:41:19.403 2728-2763/co.poynt.services D/ActivateStoreDeviceRequest: MEASURE_TIME Total read time 0
09-15 19:41:19.403 291-321/? W/genymotion_audio: out_write() limiting sleep time 46802 to 39909
09-15 19:41:19.411 2728-2763/co.poynt.services D/dalvikvm: GC_FOR_ALLOC freed 450K, 12% free 3777K/4280K, paused 3ms, total 3ms
09-15 19:41:19.411 2728-2934/co.poynt.services D/CLOUD-API: —> HTTP POST https://services.poynt.net/storeDevices/activate
09-15 19:41:19.411 2728-2934/co.poynt.services D/CLOUD-API: POYNT-REQUEST-ID: 87eb02b5-015e-1000-182e-41921ee28a7c
09-15 19:41:19.411 2728-2934/co.poynt.services D/CLOUD-API: api-version: 1.2
09-15 19:41:19.411 2728-2934/co.poynt.services D/CLOUD-API: User-Agent: Poynt Services/1.0-R194 (Android 4.4.4; eng.genymotion.20170320.221842; urn:tid:4d8d4db2-d80a-330d-b0de-208c67987d0c; EMUhhjbevu9ajngbxtaq)
09-15 19:41:19.411 2728-2934/co.poynt.services D/CLOUD-API: Content-Type: application/json; charset=UTF-8
09-15 19:41:19.411 2728-2934/co.poynt.services D/CLOUD-API: Content-Length: 671
09-15 19:41:19.411 2728-2934/co.poynt.services D/CLOUD-API: —> END HTTP (671-byte body)
09-15 19:41:19.535 2728-2934/co.poynt.services I/POYNT-EVENT: {“time” : “2017-09-15T23:41:19Z”, “type” : “REST_API”, “resource” : “”, “status” : “FAILURE”, “storeDeviceId” : “urn:tid:4d8d4db2-d80a-330d-b0de-208c67987d0c”, “processingTime” : 121.086467, “method” : “POST”, “apiStatusCode” : 400, “apiRequestId” : “87eb02b5-015e-1000-182e-41921ee28a7c”, “apiEndpoint” : “https://services.poynt.net/storeDevices/activate”, “apiServerDate” : “Fri, 15 Sep 2017 23:41:19 GMT”, “apiServerBuild” : “1.2.395-20170913-1213”, “apiServerInstanceId” : “i-01d7ffafa94d27163”, “sdkErrorCode” : 0}
09-15 19:41:19.535 2728-2934/co.poynt.services D/CLOUD-API: <— HTTP 400 https://services.poynt.net/storeDevices/activate (121ms)
09-15 19:41:19.535 2728-2934/co.poynt.services D/CLOUD-API: Server: nginx
09-15 19:41:19.535 2728-2934/co.poynt.services D/CLOUD-API: Date: Fri, 15 Sep 2017 23:41:19 GMT
09-15 19:41:19.535 2728-2934/co.poynt.services D/CLOUD-API: Content-Type: application/json;charset=UTF-8
09-15 19:41:19.535 2728-2934/co.poynt.services D/CLOUD-API: Transfer-Encoding: chunked
09-15 19:41:19.535 2728-2934/co.poynt.services D/CLOUD-API: Connection: keep-alive
09-15 19:41:19.535 2728-2934/co.poynt.services D/CLOUD-API: Poynt-Request-Id: 87eb02b5-015e-1000-182e-41921ee28a7c
09-15 19:41:19.535 2728-2934/co.poynt.services D/CLOUD-API: Poynt-Build-Info: 1.2.395-20170913-1213
09-15 19:41:19.535 2728-2934/co.poynt.services D/CLOUD-API: Instance-Id: i-01d7ffafa94d27163
09-15 19:41:19.535 2728-2934/co.poynt.services D/CLOUD-API: Poynt-Error-Code: INVALID_REQUEST
09-15 19:41:19.535 2728-2934/co.poynt.services D/CLOUD-API: OkHttp-Selected-Protocol: http/1.1
09-15 19:41:19.535 2728-2934/co.poynt.services D/CLOUD-API: OkHttp-Sent-Millis: 1505518879420
09-15 19:41:19.535 2728-2934/co.poynt.services D/CLOUD-API: OkHttp-Received-Millis: 1505518879535
09-15 19:41:19.535 2728-2934/co.poynt.services D/CLOUD-API: <— END HTTP (-1-byte body)
09-15 19:41:19.535 2728-2934/co.poynt.services E/CO.POYNT.SERVICES: Exception received while activating terminal:PoyntAPIException{HTTP statusCode=400 apiErrorCode=INVALID_REQUEST Network Error? false}
09-15 19:41:19.547 2697-2697/co.poynt.setupwizard E/null: PoyntError{code=0, httpStatusCode=400, apiErrorCode=INVALID_REQUEST, reason=‘Bad request.’, data=‘null’, requestId=‘null’, throwable=}
09-15 19:41:19.607 621-667/system_process D/MobileDataStateTracker: default: setPolicyDataEnable(enabled=true)
09-15 19:41:22.659 2728-2836/co.poynt.services I/CO.POYNT.SERVICES: Not running on a Poynt Terminal - disabling card reader
09-15 19:41:22.891 621-667/system_process D/MobileDataStateTracker: default: setPolicyDataEnable(enabled=true)
09-15 19:41:23.119 2697-2697/co.poynt.setupwizard D/dalvikvm: GC_FOR_ALLOC freed 3916K, 21% free 15178K/19172K, paused 4ms, total 4ms
09-15 19:41:23.167 2697-2697/co.poynt.setupwizard D/dalvikvm: GC_FOR_ALLOC freed 1881K, 12% free 17232K/19372K, paused 3ms, total 3ms
09-15 19:41:24.435 621-667/system_process D/MobileDataStateTracker: default: setPolicyDataEnable(enabled=true)
09-15 19:41:27.671 2728-2836/co.poynt.services I/CO.POYNT.SERVICES: Not running on a Poynt Terminal - disabling card reader
09-15 19:41:32.675 2728-2836/co.poynt.services I/CO.POYNT.SERVICES: Not running on a Poynt Terminal - disabling card reader
09-15 19:41:37.679 2728-2836/co.poynt.services I/CO.POYNT.SERVICES: Not running on a Poynt Terminal - disabling card reader