{"action":"created","issue":{"url":"https://api.github.com/repos/AmphibiaWeb/amphibian-disease-tracker/issues/61","repository_url":"https://api.github.com/repos/AmphibiaWeb/amphibian-disease-tracker","labels_url":"https://api.github.com/repos/AmphibiaWeb/amphibian-disease-tracker/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/AmphibiaWeb/amphibian-disease-tracker/issues/61/comments","events_url":"https://api.github.com/repos/AmphibiaWeb/amphibian-disease-tracker/issues/61/events","html_url":"https://github.com/AmphibiaWeb/amphibian-disease-tracker/issues/61","id":139136446,"number":61,"title":"Posting to FIMS gives error 415 Unsupported Media Type","user":{"login":"tigerhawkvok","id":165937,"avatar_url":"https://avatars.githubusercontent.com/u/165937?v=3","gravatar_id":"","url":"https://api.github.com/users/tigerhawkvok","html_url":"https://github.com/tigerhawkvok","followers_url":"https://api.github.com/users/tigerhawkvok/followers","following_url":"https://api.github.com/users/tigerhawkvok/following{/other_user}","gists_url":"https://api.github.com/users/tigerhawkvok/gists{/gist_id}","starred_url":"https://api.github.com/users/tigerhawkvok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tigerhawkvok/subscriptions","organizations_url":"https://api.github.com/users/tigerhawkvok/orgs","repos_url":"https://api.github.com/users/tigerhawkvok/repos","events_url":"https://api.github.com/users/tigerhawkvok/events{/privacy}","received_events_url":"https://api.github.com/users/tigerhawkvok/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AmphibiaWeb/amphibian-disease-tracker/labels/blocking","name":"blocking","color":"e11d21"},{"url":"https://api.github.com/repos/AmphibiaWeb/amphibian-disease-tracker/labels/FIMS","name":"FIMS","color":"82CFE1"},{"url":"https://api.github.com/repos/AmphibiaWeb/amphibian-disease-tracker/labels/offsite","name":"offsite","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"jdeck88","id":1154501,"avatar_url":"https://avatars.githubusercontent.com/u/1154501?v=3","gravatar_id":"","url":"https://api.github.com/users/jdeck88","html_url":"https://github.com/jdeck88","followers_url":"https://api.github.com/users/jdeck88/followers","following_url":"https://api.github.com/users/jdeck88/following{/other_user}","gists_url":"https://api.github.com/users/jdeck88/gists{/gist_id}","starred_url":"https://api.github.com/users/jdeck88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdeck88/subscriptions","organizations_url":"https://api.github.com/users/jdeck88/orgs","repos_url":"https://api.github.com/users/jdeck88/repos","events_url":"https://api.github.com/users/jdeck88/events{/privacy}","received_events_url":"https://api.github.com/users/jdeck88/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2016-03-08T00:25:20Z","updated_at":"2016-03-10T20:57:09Z","closed_at":null,"body":"Headers respond with\r\n\r\n```\r\nHTTP/1.1 415 Unsupported Media Type\r\nX-FRAME-OPTIONS: DENY\r\nContent-Type: text/html;charset=UTF-8\r\nContent-Length: 6186\r\nServer: Jetty(9.2.6.v20141205)\r\n```\r\n\r\nfor file\r\n\r\n```\r\n\"@/usr/local/web/amphibiaweb_disease/helpers/js-dragdrop/uploaded/61146e64d2d76f7bd6f08e857e221236/442e8de5d9b3c91a97eb6d626d1ea67c.xlsx;filename=442e8de5d9b3c91a97eb6d626d1ea67c.xlsx;type=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\"\r\n```\r\n\r\nI thought Office documents were allowed? Do I need to fake-out the MIME type `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet` into something else? Leave it off?"},"comment":{"url":"https://api.github.com/repos/AmphibiaWeb/amphibian-disease-tracker/issues/comments/195044205","html_url":"https://github.com/AmphibiaWeb/amphibian-disease-tracker/issues/61#issuecomment-195044205","issue_url":"https://api.github.com/repos/AmphibiaWeb/amphibian-disease-tracker/issues/61","id":195044205,"user":{"login":"jdeck88","id":1154501,"avatar_url":"https://avatars.githubusercontent.com/u/1154501?v=3","gravatar_id":"","url":"https://api.github.com/users/jdeck88","html_url":"https://github.com/jdeck88","followers_url":"https://api.github.com/users/jdeck88/followers","following_url":"https://api.github.com/users/jdeck88/following{/other_user}","gists_url":"https://api.github.com/users/jdeck88/gists{/gist_id}","starred_url":"https://api.github.com/users/jdeck88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdeck88/subscriptions","organizations_url":"https://api.github.com/users/jdeck88/orgs","repos_url":"https://api.github.com/users/jdeck88/repos","events_url":"https://api.github.com/users/jdeck88/events{/privacy}","received_events_url":"https://api.github.com/users/jdeck88/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T20:57:09Z","updated_at":"2016-03-10T20:57:09Z","body":"Also, i made some adjustments to java memory settings for jetty.  PermGen space complaints.  I made this much larger... This has been causing some errors recently and may be related to your error.  try it out and see if it works for you."}}