{ "id": "173625", "key": "AC-6255", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2019-08-18T10:33:00.000+0000", "created": "2019-05-14T11:36:51.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-08-18T10:33:00.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14559", "name": "ArrowDB" } ], "description": "I am trying to query users for coordinates with or clause. Below is the example:\r\n\r\nURL: https://api.cloud.appcelerator.com/v1/users/query.json?key=key&pretty_json=true&response_json_depth=2\r\n\r\nRequest: where:{\"$or\":[{\"coordinates\":{\"$nearSphere\":[79.0521694,21.1310236],\"$maxDistance\":0.0156}}, {\"coordinates\":{\"$nearSphere\":[78.0521694,21.1310236],\"$maxDistance\":0.0156}}]}\r\ncount:true\r\n\r\nI am getting below error.\r\nResponse: {\r\n \"meta\": {\r\n \"code\": 400,\r\n \"status\": \"fail\",\r\n \"message\": \"$and/$or/$nor must be a nonempty array\",\r\n \"method_name\": \"queryUsers\"\r\n }\r\n}", "attachment": [], "flagged": false, "summary": "ArrowDB query coordinates with or condition", "creator": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "environment": null, "comment": { "comments": [ { "id": "448423", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~efrancis],\r\n\r\nThanks for reporting this. Can you please share a simple test case to reproduce the issue on our end?", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-05-16T12:57:58.000+0000", "updated": "2019-05-16T12:57:58.000+0000" }, { "id": "449110", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~efrancis],
\r\nWe haven't heard back from you since our last response. I am just following up to check the status of this case and if you need further help on it. ", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-06-16T08:16:07.000+0000", "updated": "2019-06-16T08:16:07.000+0000" }, { "id": "450055", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\nAre you able to get that sorted out?  Please let us know if you need more help with this issue.\r\n", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-07-25T10:58:50.000+0000", "updated": "2019-07-25T10:58:50.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }