{"action":"created","issue":{"url":"https://api.github.com/repos/tumblr/jumblr/issues/89","repository_url":"https://api.github.com/repos/tumblr/jumblr","labels_url":"https://api.github.com/repos/tumblr/jumblr/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/tumblr/jumblr/issues/89/comments","events_url":"https://api.github.com/repos/tumblr/jumblr/issues/89/events","html_url":"https://github.com/tumblr/jumblr/issues/89","id":134866692,"number":89,"title":"PhotoPost by source url don't get saved in \"queued\" state","user":{"login":"Tickeldi","id":1759504,"avatar_url":"https://avatars.githubusercontent.com/u/1759504?v=3","gravatar_id":"","url":"https://api.github.com/users/Tickeldi","html_url":"https://github.com/Tickeldi","followers_url":"https://api.github.com/users/Tickeldi/followers","following_url":"https://api.github.com/users/Tickeldi/following{/other_user}","gists_url":"https://api.github.com/users/Tickeldi/gists{/gist_id}","starred_url":"https://api.github.com/users/Tickeldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tickeldi/subscriptions","organizations_url":"https://api.github.com/users/Tickeldi/orgs","repos_url":"https://api.github.com/users/Tickeldi/repos","events_url":"https://api.github.com/users/Tickeldi/events{/privacy}","received_events_url":"https://api.github.com/users/Tickeldi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tumblr/jumblr/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-02-19T13:39:21Z","updated_at":"2016-03-06T18:23:51Z","closed_at":null,"body":"Hey. I am not sure what I am doing wrong here. Everything works fine except that my posts are getting saved in a published state instead of queued. No exceptions are thrown.\r\n\r\nThis is my method.\r\n```\r\npublic void postImage(String imageSource, String text) throws IOException {\r\n  try {\r\n\t\t\tPhotoPost post = clientToPostWith.newPost(\r\n\t\t\t\t\tblogname, \r\n\t\t\t\t\tPhotoPost.class);\r\n\t\t\tpost.setCaption(text);\r\n\t\t\tpost.setState(\"queued\");\r\n\t\t\tpost.setPhoto(new Photo(imageSource));\r\n\t\t\tpost.save();\r\n\t\t\tSystem.out.println(post.getState());\r\n\t\t\tSystem.out.println(clientToPostWith.blogPost(blogname, post.getId()).getState());\r\n\t\t} catch (IllegalAccessException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (InstantiationException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}\r\n}\r\n```\r\n\r\nThe output is:\r\n\r\n```\r\nqueued\r\npublished\r\n```"},"comment":{"url":"https://api.github.com/repos/tumblr/jumblr/issues/comments/192954520","html_url":"https://github.com/tumblr/jumblr/issues/89#issuecomment-192954520","issue_url":"https://api.github.com/repos/tumblr/jumblr/issues/89","id":192954520,"user":{"login":"bdenney","id":1355090,"avatar_url":"https://avatars.githubusercontent.com/u/1355090?v=3","gravatar_id":"","url":"https://api.github.com/users/bdenney","html_url":"https://github.com/bdenney","followers_url":"https://api.github.com/users/bdenney/followers","following_url":"https://api.github.com/users/bdenney/following{/other_user}","gists_url":"https://api.github.com/users/bdenney/gists{/gist_id}","starred_url":"https://api.github.com/users/bdenney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdenney/subscriptions","organizations_url":"https://api.github.com/users/bdenney/orgs","repos_url":"https://api.github.com/users/bdenney/repos","events_url":"https://api.github.com/users/bdenney/events{/privacy}","received_events_url":"https://api.github.com/users/bdenney/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T18:23:51Z","updated_at":"2016-03-06T18:23:51Z","body":"Can you try setting the state to `queue` instead of `queued`?\r\n\r\nAccording to the API docs for the `state` field:\r\n\r\n> The state of the post. Specify one of the following:  published, draft, queue, private\t"}}