[2026-11-06 07:57:42] Request received - {"method":"GET","headers":{"Host":"ncb.farmproapps.com","sec-ch-ua-platform":"\"Android\"","x-device-id":"device_wuttri2xgkfxvvr8oskvb","sec-ch-ua":"\"Not:A-Brand\";v=\"8\", \"Chromium\";v=\"156\", \"Android WebView\";v=\"156\"","x-api-version":"1.0","sec-ch-ua-mobile":"?1","User-Agent":"Mozilla/5.0 (Linux; Android 16; SM-A175F Build/BP4A.251205.006; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/156.0.8078.47 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.186.186"},"query":{"action":"get_users","t":"1793951859885"},"origin":"https://localhost"}
[2026-11-06 07:57:42] Raw input - {"length":0,"preview":""}
[2026-11-06 07:57:42] JSON parse error - {"error":"Syntax error"}
[2026-11-06 07:57:42] Processing request - {"method":"GET","action":"get_users","has_input":false}
[2026-11-06 07:57:42] handleGetUsers called
[2026-11-06 07:57:42] Users retrieved - {"count":4}
[2026-11-06 07:58:51] Request received - {"method":"POST","headers":{"Host":"ncb.farmproapps.com","Content-Length":"2036","sec-ch-ua-platform":"\"Android\"","x-device-id":"device_wuttri2xgkfxvvr8oskvb","User-Agent":"Mozilla/5.0 (Linux; Android 16; SM-A175F Build/BP4A.251205.006; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/156.0.8078.47 Mobile Safari/537.36","sec-ch-ua":"\"Not:A-Brand\";v=\"8\", \"Chromium\";v=\"156\", \"Android WebView\";v=\"156\"","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.186.186"},"query":{"action":"sync_fields"},"origin":"https://localhost"}
[2026-11-06 07:58:51] Raw input - {"length":2036,"preview":"{\"fields\":[{\"local_id\":15,\"farmerId\":\"7109643287\",\"farmerName\":\"Musah Blagam\",\"fieldName\":\"Tadieso 1\",\"areaAcres\":0.9051639857565627,\"areaHectares\":0.3663071927398803,\"perimeter\":248.28978053885228,\"pointCount\":42,\"points\":\"[{\\\"lat\\\":7.0192176,\\\"lng\\\":-1.3813341},{\\\"lat\\\":7.0192761,\\\"lng\\\":-1.3813206},{\\\"lat\\\":7.0193082,\\\"lng\\\":-1.3812728},{\\\"lat\\\":7.0192983,\\\"lng\\\":-1.3812265},{\\\"lat\\\":7.0192958,\\\"lng\\\":-1.3811762},{\\\"lat\\\":7.019287,\\\"lng\\\":-1.3811269},{\\\"lat\\\":7.0192956,\\\"lng\\\":-1.3810674},{\\\""}
[2026-11-06 07:58:51] Processing request - {"method":"POST","action":"sync_fields","has_input":true}
[2026-11-06 07:58:51] handleSyncFields called - {"input_keys":["fields","deviceId","enumeratorId","timestamp"]}
[2026-11-06 07:58:51] Processing fields - {"count":1}
[2026-11-06 07:58:51] Processing field 0 - {"farmerId":"7109643287"}
[2026-11-06 07:58:51] New field inserted - {"farmer_id":"7109643287","local_id":15}
[2026-11-06 07:58:51] Field sync completed - {"synced":1,"errors":0}
