{"action":"created","issue":{"url":"https://api.github.com/repos/twitter/twitter-kit-android/issues/24","labels_url":"https://api.github.com/repos/twitter/twitter-kit-android/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/twitter/twitter-kit-android/issues/24/comments","events_url":"https://api.github.com/repos/twitter/twitter-kit-android/issues/24/events","html_url":"https://github.com/twitter/twitter-kit-android/issues/24","id":101424523,"number":24,"title":"Twitter logIn exception","user":{"login":"dvasko","id":6149700,"avatar_url":"https://avatars.githubusercontent.com/u/6149700?v=3","gravatar_id":"","url":"https://api.github.com/users/dvasko","html_url":"https://github.com/dvasko","followers_url":"https://api.github.com/users/dvasko/followers","following_url":"https://api.github.com/users/dvasko/following{/other_user}","gists_url":"https://api.github.com/users/dvasko/gists{/gist_id}","starred_url":"https://api.github.com/users/dvasko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvasko/subscriptions","organizations_url":"https://api.github.com/users/dvasko/orgs","repos_url":"https://api.github.com/users/dvasko/repos","events_url":"https://api.github.com/users/dvasko/events{/privacy}","received_events_url":"https://api.github.com/users/dvasko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-17T13:49:59Z","updated_at":"2015-08-18T15:40:55Z","closed_at":null,"body":"Currently twitter-kit internally use:\r\n```groovy\r\nretrofit = 'com.squareup.retrofit:retrofit:1.6.1'\r\nokHttp = 'com.squareup.okhttp:okhttp:2.0.0'\r\nokHttpUrlConnection = 'com.squareup.okhttp:okhttp-urlconnection:2.0.0'\r\n```\r\nand with that setup everything work.\r\n\r\nIn my project i use:\r\n```groovy\r\ncompile('com.twitter.sdk.android:twitter:1.7.0@aar') {\r\n    transitive = true;\r\n}\r\ncompile 'com.squareup.retrofit:retrofit:1.9.0'\r\ncompile 'com.squareup.okhttp:okhttp-urlconnection:2.4.0'\r\ncompile 'com.squareup.okhttp:okhttp:2.4.0'\r\n```\r\nand with this setup i get exception on login:\r\n\r\n    com.twitter.sdk.android.core.TwitterApiException: method POST must have a request body.\r\n            at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:400)\r\n            at retrofit.RestAdapter$RestHandler.access$100(RestAdapter.java:220)\r\n            at retrofit.RestAdapter$RestHandler$2.obtainResponse(RestAdapter.java:278)\r\n            at retrofit.CallbackRunnable.run(CallbackRunnable.java:42)\r\n            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\n            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n            at retrofit.Platform$Android$2$1.run(Platform.java:142)\r\n            at java.lang.Thread.run(Thread.java:818)\r\n\r\nsome changes to POST have been made in okhttp 2.3.0 -> 2.4.0 that don't allow POST without request body."},"comment":{"url":"https://api.github.com/repos/twitter/twitter-kit-android/issues/comments/132253765","html_url":"https://github.com/twitter/twitter-kit-android/issues/24#issuecomment-132253765","issue_url":"https://api.github.com/repos/twitter/twitter-kit-android/issues/24","id":132253765,"user":{"login":"efrohnhoefer","id":1333982,"avatar_url":"https://avatars.githubusercontent.com/u/1333982?v=3","gravatar_id":"","url":"https://api.github.com/users/efrohnhoefer","html_url":"https://github.com/efrohnhoefer","followers_url":"https://api.github.com/users/efrohnhoefer/followers","following_url":"https://api.github.com/users/efrohnhoefer/following{/other_user}","gists_url":"https://api.github.com/users/efrohnhoefer/gists{/gist_id}","starred_url":"https://api.github.com/users/efrohnhoefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efrohnhoefer/subscriptions","organizations_url":"https://api.github.com/users/efrohnhoefer/orgs","repos_url":"https://api.github.com/users/efrohnhoefer/repos","events_url":"https://api.github.com/users/efrohnhoefer/events{/privacy}","received_events_url":"https://api.github.com/users/efrohnhoefer/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T15:40:55Z","updated_at":"2015-08-18T15:40:55Z","body":"@dvasko Thanks for the note. This is a known issue with okhttp/retrofit. See: https://github.com/square/retrofit/issues/854"}}