{"action":"created","issue":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/2108","repository_url":"https://api.github.com/repos/Project-OSRM/osrm-backend","labels_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/2108/labels{/name}","comments_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/2108/comments","events_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/2108/events","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/2108","id":141602591,"number":2108,"title":"Nearest service does not conform to v5 API `InvalidOptions` error code for no coordinates","user":{"login":"daniel-j-h","id":527241,"avatar_url":"https://avatars.githubusercontent.com/u/527241?v=3","gravatar_id":"","url":"https://api.github.com/users/daniel-j-h","html_url":"https://github.com/daniel-j-h","followers_url":"https://api.github.com/users/daniel-j-h/followers","following_url":"https://api.github.com/users/daniel-j-h/following{/other_user}","gists_url":"https://api.github.com/users/daniel-j-h/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-j-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-j-h/subscriptions","organizations_url":"https://api.github.com/users/daniel-j-h/orgs","repos_url":"https://api.github.com/users/daniel-j-h/repos","events_url":"https://api.github.com/users/daniel-j-h/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-j-h/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/labels/Bug%20Report","name":"Bug Report","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/milestones/2","html_url":"https://github.com/Project-OSRM/osrm-backend/milestones/OSRM%205.0","labels_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/milestones/2/labels","id":41286,"number":2,"title":"OSRM 5.0","description":"","creator":{"login":"DennisOSRM","id":1067895,"avatar_url":"https://avatars.githubusercontent.com/u/1067895?v=3","gravatar_id":"","url":"https://api.github.com/users/DennisOSRM","html_url":"https://github.com/DennisOSRM","followers_url":"https://api.github.com/users/DennisOSRM/followers","following_url":"https://api.github.com/users/DennisOSRM/following{/other_user}","gists_url":"https://api.github.com/users/DennisOSRM/gists{/gist_id}","starred_url":"https://api.github.com/users/DennisOSRM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DennisOSRM/subscriptions","organizations_url":"https://api.github.com/users/DennisOSRM/orgs","repos_url":"https://api.github.com/users/DennisOSRM/repos","events_url":"https://api.github.com/users/DennisOSRM/events{/privacy}","received_events_url":"https://api.github.com/users/DennisOSRM/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":83,"state":"open","created_at":"2011-09-27T07:10:24Z","updated_at":"2016-03-24T20:13:31Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-03-17T14:41:58Z","updated_at":"2016-03-24T20:13:31Z","closed_at":"2016-03-24T20:13:31Z","body":"Per the v5 API spec precondition violations return code `InvalidOptions`:\r\nhttps://github.com/Project-OSRM/osrm-backend/wiki/New-Server-api\r\n\r\nNearest returns `TooBig` in case no coordinates are provided:\r\nhttps://github.com/Project-OSRM/osrm-backend/blob/rewrite/new-api/src/engine/plugins/nearest.cpp#L29-L32"},"comment":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/comments/201000931","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/2108#issuecomment-201000931","issue_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/2108","id":201000931,"user":{"login":"TheMarex","id":606968,"avatar_url":"https://avatars.githubusercontent.com/u/606968?v=3","gravatar_id":"","url":"https://api.github.com/users/TheMarex","html_url":"https://github.com/TheMarex","followers_url":"https://api.github.com/users/TheMarex/followers","following_url":"https://api.github.com/users/TheMarex/following{/other_user}","gists_url":"https://api.github.com/users/TheMarex/gists{/gist_id}","starred_url":"https://api.github.com/users/TheMarex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheMarex/subscriptions","organizations_url":"https://api.github.com/users/TheMarex/orgs","repos_url":"https://api.github.com/users/TheMarex/repos","events_url":"https://api.github.com/users/TheMarex/events{/privacy}","received_events_url":"https://api.github.com/users/TheMarex/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T20:13:31Z","updated_at":"2016-03-24T20:13:31Z","body":"This landed :tada: "}}