{"action":"created","issue":{"url":"https://api.github.com/repos/freme-project/FREMECommon/issues/38","repository_url":"https://api.github.com/repos/freme-project/FREMECommon","labels_url":"https://api.github.com/repos/freme-project/FREMECommon/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/freme-project/FREMECommon/issues/38/comments","events_url":"https://api.github.com/repos/freme-project/FREMECommon/issues/38/events","html_url":"https://github.com/freme-project/FREMECommon/issues/38","id":181596119,"number":38,"title":"e-translation/tilde 500","user":{"login":"bjdmeest","id":668581,"avatar_url":"https://avatars.githubusercontent.com/u/668581?v=3","gravatar_id":"","url":"https://api.github.com/users/bjdmeest","html_url":"https://github.com/bjdmeest","followers_url":"https://api.github.com/users/bjdmeest/followers","following_url":"https://api.github.com/users/bjdmeest/following{/other_user}","gists_url":"https://api.github.com/users/bjdmeest/gists{/gist_id}","starred_url":"https://api.github.com/users/bjdmeest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjdmeest/subscriptions","organizations_url":"https://api.github.com/users/bjdmeest/orgs","repos_url":"https://api.github.com/users/bjdmeest/repos","events_url":"https://api.github.com/users/bjdmeest/events{/privacy}","received_events_url":"https://api.github.com/users/bjdmeest/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"bjdmeest","id":668581,"avatar_url":"https://avatars.githubusercontent.com/u/668581?v=3","gravatar_id":"","url":"https://api.github.com/users/bjdmeest","html_url":"https://github.com/bjdmeest","followers_url":"https://api.github.com/users/bjdmeest/followers","following_url":"https://api.github.com/users/bjdmeest/following{/other_user}","gists_url":"https://api.github.com/users/bjdmeest/gists{/gist_id}","starred_url":"https://api.github.com/users/bjdmeest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjdmeest/subscriptions","organizations_url":"https://api.github.com/users/bjdmeest/orgs","repos_url":"https://api.github.com/users/bjdmeest/repos","events_url":"https://api.github.com/users/bjdmeest/events{/privacy}","received_events_url":"https://api.github.com/users/bjdmeest/received_events","type":"User","site_admin":false},"assignees":[{"login":"bjdmeest","id":668581,"avatar_url":"https://avatars.githubusercontent.com/u/668581?v=3","gravatar_id":"","url":"https://api.github.com/users/bjdmeest","html_url":"https://github.com/bjdmeest","followers_url":"https://api.github.com/users/bjdmeest/followers","following_url":"https://api.github.com/users/bjdmeest/following{/other_user}","gists_url":"https://api.github.com/users/bjdmeest/gists{/gist_id}","starred_url":"https://api.github.com/users/bjdmeest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjdmeest/subscriptions","organizations_url":"https://api.github.com/users/bjdmeest/orgs","repos_url":"https://api.github.com/users/bjdmeest/repos","events_url":"https://api.github.com/users/bjdmeest/events{/privacy}","received_events_url":"https://api.github.com/users/bjdmeest/received_events","type":"User","site_admin":false},{"login":"jnehring","id":10537540,"avatar_url":"https://avatars.githubusercontent.com/u/10537540?v=3","gravatar_id":"","url":"https://api.github.com/users/jnehring","html_url":"https://github.com/jnehring","followers_url":"https://api.github.com/users/jnehring/followers","following_url":"https://api.github.com/users/jnehring/following{/other_user}","gists_url":"https://api.github.com/users/jnehring/gists{/gist_id}","starred_url":"https://api.github.com/users/jnehring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnehring/subscriptions","organizations_url":"https://api.github.com/users/jnehring/orgs","repos_url":"https://api.github.com/users/jnehring/repos","events_url":"https://api.github.com/users/jnehring/events{/privacy}","received_events_url":"https://api.github.com/users/jnehring/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-10-07T06:45:51Z","updated_at":"2016-10-10T14:12:31Z","closed_at":"2016-10-10T14:12:31Z","body":"The following command fails:\r\n\r\n```\r\ncurl 'https://api.freme-project.eu/current/e-translation/tilde?informat=text&outformat=json-ld&source-lang=en&target-lang=de' -H 'Origin: http://localhost:63343' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: en-GB,en-US;q=0.8,en;q=0.6' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2881.5 Safari/537.36' -H 'Content-Type: text/plain' -H 'Accept: application/json+ld' -H 'Referer: http://localhost:63343/CKEditor-Plugin/ckeditor/samples/freme.html?_ijt=jqmruku0vk9k987oo844lvbnls' -H 'Connection: keep-alive' --data-binary 'Dissident Chinese artist Ai Weiwei has been refused a six-month visa by the British government amid claims he lied on his visa application form. Ai posted a letter on Instagram stating his entry to the UK had been restricted because he failed to declare his criminal conviction. But Ai, though detained in China for 81 days in 2011, has never been charged or convicted of a crime in China. The artist was granted a 20-day visa to attend the opening of his London show.' --compressed\r\n```\r\n\r\ngives following error:\r\n```\r\n{\r\n  \"exception\": \"eu.freme.common.exception.ExternalServiceFailedException\",\r\n  \"path\": \"/e-translation/tilde\",\r\n  \"message\": \"External service failed: {\\\"Message\\\":\\\"MT Internal server error. Reason: Response status code does not indicate success: 400 (Error).\\\"}\",\r\n  \"error\": \"Internal Server Error\",\r\n  \"status\": 500,\r\n  \"timestamp\": 1475822713975\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/freme-project/FREMECommon/issues/comments/252632539","html_url":"https://github.com/freme-project/FREMECommon/issues/38#issuecomment-252632539","issue_url":"https://api.github.com/repos/freme-project/FREMECommon/issues/38","id":252632539,"user":{"login":"bjdmeest","id":668581,"avatar_url":"https://avatars.githubusercontent.com/u/668581?v=3","gravatar_id":"","url":"https://api.github.com/users/bjdmeest","html_url":"https://github.com/bjdmeest","followers_url":"https://api.github.com/users/bjdmeest/followers","following_url":"https://api.github.com/users/bjdmeest/following{/other_user}","gists_url":"https://api.github.com/users/bjdmeest/gists{/gist_id}","starred_url":"https://api.github.com/users/bjdmeest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjdmeest/subscriptions","organizations_url":"https://api.github.com/users/bjdmeest/orgs","repos_url":"https://api.github.com/users/bjdmeest/repos","events_url":"https://api.github.com/users/bjdmeest/events{/privacy}","received_events_url":"https://api.github.com/users/bjdmeest/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T14:12:31Z","updated_at":"2016-10-10T14:12:31Z","body":"Great, thanks!"}}
{"actor":{"display_login":"bjdmeest"}}