{ "id": "153481", "key": "AC-516", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-11-30T09:39:26.000+0000", "created": "2015-11-30T06:22:00.000+0000", "labels": [ "andoid", "httpclient", "pushnotification", "xhr" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-30T09:39:26.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": "14560", "name": "Arrow Push" }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I am trying to register the device for push notification. I have to use the REST API calls to do that for the kinvey MBaaS. In the response, I am getting the error with the status code 204. On the kinvey, I am successfully registered for it's push service.\r\n\r\nHowever, on the appcelerator it's giving me error. As code is 204(no content) it's should be handled as success rather than error.", "attachment": [ { "id": "57624", "filename": "error.json", "author": { "name": "rpeshwe", "key": "rpeshwe", "displayName": "Rohan Peshwe", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-11-30T06:19:09.000+0000", "size": 986, "mimeType": "application/json" } ], "flagged": false, "summary": "Appcelerator httpclient is not handling the response with code 204 correctly.", "creator": { "name": "rpeshwe", "key": "rpeshwe", "displayName": "Rohan Peshwe", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "rpeshwe", "key": "rpeshwe", "displayName": "Rohan Peshwe", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Node v0.10.37\r\nCLI Version = 5.0.5\r\nTitanium SDKs = 5.0.2.GA\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.10.5\r\nAlloy = 1.7.13\r\nAppcelerator CLI\r\n Installer = 4.2.0\r\n Core Package = 5.0.2", "comment": { "comments": [ { "id": "371648", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Registering the device for push notification is working fine in Appcelerator Arrow DB. The problem might be in Kinvey MBaaS side. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-11-30T09:39:26.000+0000", "updated": "2015-11-30T09:39:26.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }