{"action":"created","issue":{"url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-iOS/issues/79","labels_url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-iOS/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-iOS/issues/79/comments","events_url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-iOS/issues/79/events","html_url":"https://github.com/OfficeDev/Office-365-SDK-for-iOS/issues/79","id":101954880,"number":79,"title":"Unable to use the SDK on iPhone5 and lower","user":{"login":"siddheshcnaik","id":2016263,"avatar_url":"https://avatars.githubusercontent.com/u/2016263?v=3","gravatar_id":"","url":"https://api.github.com/users/siddheshcnaik","html_url":"https://github.com/siddheshcnaik","followers_url":"https://api.github.com/users/siddheshcnaik/followers","following_url":"https://api.github.com/users/siddheshcnaik/following{/other_user}","gists_url":"https://api.github.com/users/siddheshcnaik/gists{/gist_id}","starred_url":"https://api.github.com/users/siddheshcnaik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddheshcnaik/subscriptions","organizations_url":"https://api.github.com/users/siddheshcnaik/orgs","repos_url":"https://api.github.com/users/siddheshcnaik/repos","events_url":"https://api.github.com/users/siddheshcnaik/events{/privacy}","received_events_url":"https://api.github.com/users/siddheshcnaik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-iOS/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-19T17:39:10Z","updated_at":"2015-08-20T13:38:05Z","closed_at":null,"body":"Hi,\r\n\r\nI am trying to make a calendar reservation using the iOS SDK. The login works fine. But on making call for making a calendar entry, I am getting following response.\r\n\r\nError in the Request Code=400 \"The operation couldn’t be completed. (Error in the Request error 400.)\" UserInfo=0x14d2a380 {error={\r\n    code = RequestBodyRead;\r\n    message = \"Cannot read the value '0' as a quoted JSON string value.\";\r\n}}\r\n\r\nRequest Header:\r\n{\r\n    Authorization = \"Bearer <TOKEN>\";\r\n    \"Content-Type\" = \"application/json\";\r\n    \"OData-MaxVersion\" = \"4.0\";\r\n    \"OData-Version\" = \"4.0\";\r\n    \"User-Agent\" = \"MSOutlookServicesClient/1.0 (lang=Objective-C; os=iPhone OS; os_version=8.3; arch=ARM; version=6)\";\r\n    \"X-ClientService-ClientTag\" = \"Rooms/1.0 (lang=Objective-C; os=iPhone OS; os_version=8.3; arch=ARM; version=6)\";\r\n} \r\n\r\nRequest Body:\r\n{\"Subject\" : \"Room Reservation\",\"Body\" : {\"@odata.type\" : \"#Microsoft.OutlookServices.ItemBody\",\"ContentType\" : 0},\"Importance\" : 0,\"HasAttachments\" : 0,\"Start\" : \"2015-08-19T17:40:00Z\",\"StartTimeZone\" : \"Pacific Standard Time\",\"End\" : \"2015-08-19T18:00:00Z\",\"EndTimeZone\" : \"Pacific Standard Time\",\"Reminder\" : 0,\"Location\" : {\"@odata.type\" : \"#Microsoft.OutlookServices.Location\",\"DisplayName\" : \"ConfRm-MV-301 Qarth (4)\"},\"ShowAs\" : 2,\"IsAllDay\" : 0,\"IsCancelled\" : 0,\"IsOrganizer\" : 0,\"ResponseRequested\" : 1,\"Type\" : 0,\"Attendees\" : [{\"Type\" : 0,\"@odata.type\" : \"#Microsoft.OutlookServices.Attendee\",\"EmailAddress\" : {\"@odata.type\" : \"#Microsoft.OutlookServices.EmailAddress\",\"Address\" : \"ConfRm-MV-301-Qarth@miappdev.org\"}}],\"@odata.type\" : \"#Microsoft.OutlookServices.Event\"}\r\n\r\nNSHTTPURLResponse:\r\n<NSHTTPURLResponse: 0x1653d4c0> { URL: https://outlook.office365.com/api/v1.0/Me/Events/ } { status code: 400, headers {\r\n    \"Cache-Control\" = private;\r\n    \"Content-Type\" = \"application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8\";\r\n    Date = \"Wed, 19 Aug 2015 17:43:50 GMT\";\r\n    \"OData-Version\" = \"4.0\";\r\n    Server = \"Microsoft-IIS/8.0\";\r\n    \"Set-Cookie\" = \"exchangecookie=4ac7ae4491604712b99c0f82cdb738a2; path=/\";\r\n    \"Transfer-Encoding\" = Identity;\r\n    \"X-AspNet-Version\" = \"4.0.30319\";\r\n    \"X-BEServer\" = BLUPR12MB0627;\r\n    \"X-BackEndHttpStatus\" = 400;\r\n    \"X-CalculatedBETarget\" = \"BLUPR12MB0627.namprd12.prod.outlook.com\";\r\n    \"X-DiagInfo\" = BLUPR12MB0627;\r\n    \"X-FEServer\" = CY1PR1201CA0017;\r\n    \"X-Powered-By\" = \"ASP.NET\";\r\n    \"request-id\" = \"ad679a15-a808-4591-a850-fc3f2a7dbb90\";\r\n} }\r\n\r\nCould any one please help?\r\n\r\nThanks,\r\nSiddhesh"},"comment":{"url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-iOS/issues/comments/133010423","html_url":"https://github.com/OfficeDev/Office-365-SDK-for-iOS/issues/79#issuecomment-133010423","issue_url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-iOS/issues/79","id":133010423,"user":{"login":"anihojnadel","id":3009862,"avatar_url":"https://avatars.githubusercontent.com/u/3009862?v=3","gravatar_id":"","url":"https://api.github.com/users/anihojnadel","html_url":"https://github.com/anihojnadel","followers_url":"https://api.github.com/users/anihojnadel/followers","following_url":"https://api.github.com/users/anihojnadel/following{/other_user}","gists_url":"https://api.github.com/users/anihojnadel/gists{/gist_id}","starred_url":"https://api.github.com/users/anihojnadel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anihojnadel/subscriptions","organizations_url":"https://api.github.com/users/anihojnadel/orgs","repos_url":"https://api.github.com/users/anihojnadel/repos","events_url":"https://api.github.com/users/anihojnadel/events{/privacy}","received_events_url":"https://api.github.com/users/anihojnadel/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T13:38:05Z","updated_at":"2015-08-20T13:38:05Z","body":"Thanks a lot for your help! We're working on some SDK updates and we'll include the fix in a future release.\r\n\r\nIn the meantime, please use your fix. We'll let you know once it's ready."}}