{ "id": "138190", "key": "AC-1173", "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": "2014-12-20T01:06:00.000+0000", "created": "2014-10-16T13:05:49.000+0000", "labels": [ "TCSupportTriage" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:37:32.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": [], "description": "h3. Steps to Reproduce\nLogin with the cloud user and confirm that you are logged in. Then call the Cloud.statu.create and pass the photo as the file and observer the output. \n\nHere is the code that i have written and i have tried everything from the community to the documentation available. \n\nh3. Actual Result\nThe actual result is the 'Unable to identify the photo' and error code 400. No other information is provided. BTW, when i use curl it work just fine. \n\nh3. Expected Result\nThe image should have been accepted and i get the result as the success. ", "attachment": [ { "id": "51995", "filename": ".log", "author": { "name": "ankush19902", "key": "ankush19902", "displayName": "ankush sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-16T13:06:19.000+0000", "size": 1191481, "mimeType": "text/plain" }, { "id": "51996", "filename": "diagnostic1478573847473378483.log", "author": { "name": "ankush19902", "key": "ankush19902", "displayName": "ankush sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-16T13:07:40.000+0000", "size": 45246, "mimeType": "text/plain" } ], "flagged": false, "summary": "Cloud.status.create not accepting the photo and giving error code 400", "creator": { "name": "ankush19902", "key": "ankush19902", "displayName": "ankush sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ankush19902", "key": "ankush19902", "displayName": "ankush sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio 3.4.0", "comment": { "comments": [ { "id": "328397", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello [~ankush19902]! \r\n\r\nPlease add the testcase that you mentioned in your bug report. \r\n\r\nBest Regards!", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-10-16T23:50:31.000+0000", "updated": "2014-10-16T23:50:31.000+0000" }, { "id": "337244", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Please add a test case with Titanium Classic. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-12-20T01:06:00.000+0000", "updated": "2014-12-20T01:06:00.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }