[2026-10-14 20:00:30] Request received - {"method":"GET","headers":{"Host":"ncb.farmproapps.com","sec-ch-ua-platform":"\"Android\"","x-device-id":"device_wuttri2xgkfxvvr8oskvb","sec-ch-ua":"\"Chromium\";v=\"154\", \"Android WebView\";v=\"154\", \"Not A(Brand\";v=\"99\"","x-api-version":"1.0","sec-ch-ua-mobile":"?1","User-Agent":"Mozilla/5.0 (Linux; Android 16; SM-A175F Build/BP2A.250605.031.A3; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/154.0.8037.106 Mobile Safari/537.36","Accept":"application/json","Content-Type":"application/json","origin":"https://localhost","x-requested-with":"com.farmpro.app","sec-fetch-site":"cross-site","sec-fetch-mode":"cors","sec-fetch-dest":"empty","Referer":"https://localhost/","Accept-Encoding":"gzip, deflate, br, zstd","Accept-Language":"en-GB,en-US;q=0.9,en;q=0.8","priority":"u=1, i","x-forwarded-proto":"https","x-https":"on","X-Forwarded-For":"154.163.150.167"},"query":{"action":"get_users","t":"1792008028369"},"origin":"https://localhost"}
[2026-10-14 20:00:30] Raw input - {"length":0,"preview":""}
[2026-10-14 20:00:30] JSON parse error - {"error":"Syntax error"}
[2026-10-14 20:00:30] Processing request - {"method":"GET","action":"get_users","has_input":false}
[2026-10-14 20:00:30] handleGetUsers called
[2026-10-14 20:00:30] Users retrieved - {"count":4}
[2026-10-14 20:01:10] Request received - {"method":"POST","headers":{"Host":"ncb.farmproapps.com","Content-Length":"11648","x-enumerator-id":"4","sec-ch-ua-platform":"\"Android\"","x-device-id":"device_wuttri2xgkfxvvr8oskvb","User-Agent":"Mozilla/5.0 (Linux; Android 16; SM-A175F Build/BP2A.250605.031.A3; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/154.0.8037.106 Mobile Safari/537.36","sec-ch-ua":"\"Chromium\";v=\"154\", \"Android WebView\";v=\"154\", \"Not A(Brand\";v=\"99\"","Content-Type":"application/json","sec-ch-ua-mobile":"?1","Accept":"*/*","origin":"https://localhost","x-requested-with":"com.farmpro.app","sec-fetch-site":"cross-site","sec-fetch-mode":"cors","sec-fetch-dest":"empty","Referer":"https://localhost/","Accept-Encoding":"gzip, deflate, br, zstd","Accept-Language":"en-GB,en-US;q=0.9,en;q=0.8","priority":"u=1, i","x-forwarded-proto":"https","x-https":"on","X-Forwarded-For":"154.163.150.167"},"query":{"action":"sync_fields"},"origin":"https://localhost"}
[2026-10-14 20:01:10] Raw input - {"length":11648,"preview":"{\"fields\":[{\"local_id\":11,\"farmerId\":\"9761631368\",\"farmerName\":\"BOAKYE YAW ALEX\",\"fieldName\":\"BSY 1\",\"areaAcres\":1.670661843116166,\"areaHectares\":0.6760934586433087,\"perimeter\":339.2063474300139,\"pointCount\":58,\"points\":\"[{\\\"lat\\\":7.0674069,\\\"lng\\\":-1.3478802},{\\\"lat\\\":7.0673578,\\\"lng\\\":-1.3478942},{\\\"lat\\\":7.0673118,\\\"lng\\\":-1.3479152},{\\\"lat\\\":7.0672752,\\\"lng\\\":-1.3479472},{\\\"lat\\\":7.0672239,\\\"lng\\\":-1.3479812},{\\\"lat\\\":7.0671763,\\\"lng\\\":-1.3480158},{\\\"lat\\\":7.067133,\\\"lng\\\":-1.3479724},{\\\"lat"}
[2026-10-14 20:01:10] Processing request - {"method":"POST","action":"sync_fields","has_input":true}
[2026-10-14 20:01:10] handleSyncFields called - {"input_keys":["fields","deviceId","enumeratorId","enumeratorName","timestamp"]}
[2026-10-14 20:01:10] Processing fields - {"count":4}
[2026-10-14 20:01:10] Processing field 0 - {"farmerId":"9761631368"}
[2026-10-14 20:01:10] New field inserted - {"farmer_id":"9761631368","local_id":11}
[2026-10-14 20:01:10] Processing field 1 - {"farmerId":"6473502404"}
[2026-10-14 20:01:10] New field inserted - {"farmer_id":"6473502404","local_id":12}
[2026-10-14 20:01:10] Processing field 2 - {"farmerId":"1988874400"}
[2026-10-14 20:01:10] New field inserted - {"farmer_id":"1988874400","local_id":13}
[2026-10-14 20:01:10] Processing field 3 - {"farmerId":"6441739476"}
[2026-10-14 20:01:10] New field inserted - {"farmer_id":"6441739476","local_id":14}
[2026-10-14 20:01:10] Field sync completed - {"synced":4,"errors":0}
