{"action":"opened","issue":{"url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/660","labels_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/660/labels{/name}","comments_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/660/comments","events_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/660/events","html_url":"https://github.com/clinton-hall/nzbToMedia/issues/660","id":53454252,"number":660,"title":"nzbToCouchpotato call to Couchpotato's media.get results in \"Wrong API key used\"","user":{"login":"zx3junglist","id":10359700,"avatar_url":"https://avatars.githubusercontent.com/u/10359700?v=3","gravatar_id":"","url":"https://api.github.com/users/zx3junglist","html_url":"https://github.com/zx3junglist","followers_url":"https://api.github.com/users/zx3junglist/followers","following_url":"https://api.github.com/users/zx3junglist/following{/other_user}","gists_url":"https://api.github.com/users/zx3junglist/gists{/gist_id}","starred_url":"https://api.github.com/users/zx3junglist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zx3junglist/subscriptions","organizations_url":"https://api.github.com/users/zx3junglist/orgs","repos_url":"https://api.github.com/users/zx3junglist/repos","events_url":"https://api.github.com/users/zx3junglist/events{/privacy}","received_events_url":"https://api.github.com/users/zx3junglist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-05T22:07:09Z","updated_at":"2015-01-05T22:07:09Z","closed_at":null,"body":"Ubuntu 14.04, latest sabnzbd, latest couchpotato, latest nzbtomedia. Using nzbToCouchpotato.py, the API call to couchpotato's media.get results in \"Wrong API key\" when in fact the API key is correct and functions on other calls such as movie.get. The result is the same when using a browser to get the same call, however the browser complains of a 404. This is for all movies, not just one.\r\n\r\nPastebin of the nzbtomedia log is here: http://pastebin.com/0SSExmRu\r\n\r\nCouchpotato debug log shows the following, which seems to correlate to the 404 from the browser:\r\n\r\n`01-05 14:57:59 DEBUG 404 GET /api/05604eeb8630484cb99e4f0e90d32408/media.get?id=tt2334873 (127.0.0.1) 101.60ms`\r\n\r\nMeanwhile, if I use a browser to make another api call, to movie.get for example, it works fine:\r\n\r\n`http://serverhost:5050/api/05604eeb8630484cb99e4f0e90d32408/movie.get/?id=tt1491044`\r\n\r\n`{\"movie\": {\"profile\": {\"core\": true, \"hide\": false, \"order\": 0, \"types\": [{\"finish\": true, \"quality_id\": 6, \"order\": 0, \"wait_for\": null, \"quality\": {\"size_min\": 600, \"identifier\": \"dvdrip\", \"size_max\": 2400, \"order\": 5, \"label\": \"DVD-Rip\"}, \"id\": 6}], \"label\": \"DVD-Rip\"}, \"library_id\": 124, \"releases\": [{\"status\": {\"identifier\": \"snatched\", \"label\": \"Snatched\"}, \"files\": [], \"quality_id\": 6, \"status_id\": 4, \"info\": {\"download_id\": \"SABnzbd_nzo_bNzQoT\", \"name\": \"The.Iceman...`\r\n\r\n\r\nSince this happens with either a browser or nzbToCouchpotato.py, I opened an issue with couchpotato which was promptly closed, suggesting to open an issue here. Perhaps media.get is deprecated, I could not find it in the couchpotato documentation."}}