{"action":"opened","issue":{"url":"https://api.github.com/repos/spotify/web-api/issues/337","repository_url":"https://api.github.com/repos/spotify/web-api","labels_url":"https://api.github.com/repos/spotify/web-api/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/spotify/web-api/issues/337/comments","events_url":"https://api.github.com/repos/spotify/web-api/issues/337/events","html_url":"https://github.com/spotify/web-api/issues/337","id":185865743,"number":337,"title":"Track search unexpected 404 when \"year:\" range is greater than 2 years","user":{"login":"ruslanskorb","id":1182823,"avatar_url":"https://avatars.githubusercontent.com/u/1182823?v=3","gravatar_id":"","url":"https://api.github.com/users/ruslanskorb","html_url":"https://github.com/ruslanskorb","followers_url":"https://api.github.com/users/ruslanskorb/followers","following_url":"https://api.github.com/users/ruslanskorb/following{/other_user}","gists_url":"https://api.github.com/users/ruslanskorb/gists{/gist_id}","starred_url":"https://api.github.com/users/ruslanskorb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruslanskorb/subscriptions","organizations_url":"https://api.github.com/users/ruslanskorb/orgs","repos_url":"https://api.github.com/users/ruslanskorb/repos","events_url":"https://api.github.com/users/ruslanskorb/events{/privacy}","received_events_url":"https://api.github.com/users/ruslanskorb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-28T08:23:37Z","updated_at":"2016-10-28T08:23:37Z","closed_at":null,"body":"Hi, guys!\r\n\r\nThank you for your work on the Spotify API.\r\n\r\nUnfortunately, we are faced with a problem in the Web API, which looks like a bug. If you try to specify `year:` range that is greater than 2 years, you will get the error 'Not found'.\r\n\r\nhttps://api.spotify.com/v1/search?limit=20&offset=0&q=year%3A2013-2016&type=track\r\n\r\n```\r\n{\r\n  \"error\": {\r\n    \"status\": 404,\r\n    \"message\": \"Not found.\"\r\n  }\r\n}\r\n```\r\n\r\nIf the years range is equal or less than 2 years it works without any errors.\r\n\r\n```\r\n{\r\n  \"tracks\": {\r\n    \"href\": \"https://api.spotify.com/v1/search?query=year%3A2014-2016&offset=0&limit=20&type=track\",\r\n    \"items\": [\r\n      ...\r\n    ],\r\n    \"limit\": 20,\r\n    \"next\": \"https://api.spotify.com/v1/search?query=year%3A2014-2016&offset=20&limit=20&type=track\",\r\n    \"offset\": 0,\r\n    \"previous\": null,\r\n    \"total\": 16034626\r\n  }\r\n}\r\n```\r\n\r\nSome time ago it worked without any problems in both cases."}}
{"actor":{"display_login":"ruslanskorb"}}