{"action":"created","issue":{"url":"https://api.github.com/repos/theotherp/nzbhydra/issues/55","labels_url":"https://api.github.com/repos/theotherp/nzbhydra/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/theotherp/nzbhydra/issues/55/comments","events_url":"https://api.github.com/repos/theotherp/nzbhydra/issues/55/events","html_url":"https://github.com/theotherp/nzbhydra/issues/55","id":122529968,"number":55,"title":"Error when sending nzb to NZBget","user":{"login":"judhat2","id":3536802,"avatar_url":"https://avatars.githubusercontent.com/u/3536802?v=3","gravatar_id":"","url":"https://api.github.com/users/judhat2","html_url":"https://github.com/judhat2","followers_url":"https://api.github.com/users/judhat2/followers","following_url":"https://api.github.com/users/judhat2/following{/other_user}","gists_url":"https://api.github.com/users/judhat2/gists{/gist_id}","starred_url":"https://api.github.com/users/judhat2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/judhat2/subscriptions","organizations_url":"https://api.github.com/users/judhat2/orgs","repos_url":"https://api.github.com/users/judhat2/repos","events_url":"https://api.github.com/users/judhat2/events{/privacy}","received_events_url":"https://api.github.com/users/judhat2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/theotherp/nzbhydra/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-16T15:32:01Z","updated_at":"2015-12-16T16:39:40Z","closed_at":null,"body":"When I click on the small nzb icon to send a nzb file to nzbget, I get this error on the web page: \r\nAn error occured :\r\n500: INTERNAL SERVER ERROR\r\n\r\nThe log has this:\r\n2015-12-17 00:20:02,882 - ERROR - web - <Fault 2: 'Invalid parameter (AddTop)'>\r\nTraceback (most recent call last):\r\n  File \"/nzbhydra/libs/flask/app.py\", line 1475, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n  File \"/nzbhydra/libs/flask/app.py\", line 1461, in dispatch_request\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n  File \"/nzbhydra/nzbhydra/web.py\", line 178, in decorated\r\n    return f(*args, **kwargs)\r\n  File \"/nzbhydra/libs/webargs/core.py\", line 368, in wrapper\r\n    return func(*new_args, **kwargs)\r\n  File \"/nzbhydra/nzbhydra/web.py\", line 533, in internalapi_addnzb\r\n    add_success = downloader.add_link(guid, guid[\"title\"], args[\"category\"])\r\n  File \"/nzbhydra/nzbhydra/downloader.py\", line 97, in add_link\r\n    rcode = rpc.append(title, link, category, 0, False, False, \"\", 0, \"SCORE\")\r\n  File \"/nzbhydra/libs/xmlrpclib.py\", line 1240, in __call__\r\n    return self.__send(self.__name, args)\r\n  File \"/nzbhydra/libs/xmlrpclib.py\", line 1599, in __request\r\n    verbose=self.__verbose\r\n  File \"/nzbhydra/libs/xmlrpclib.py\", line 1280, in request\r\n    return self.single_request(host, handler, request_body, verbose)\r\n  File \"/nzbhydra/libs/xmlrpclib.py\", line 1313, in single_request\r\n    return self.parse_response(response)\r\n  File \"/nzbhydra/libs/xmlrpclib.py\", line 1490, in parse_response\r\n    return u.close()\r\n  File \"/nzbhydra/libs/xmlrpclib.py\", line 799, in close\r\n    raise Fault(**self._stack[0])\r\nFault: Fault 2: 'Invalid parameter (AddTop)'\r\n\r\nSending a nzb to NZBget works fine, if I change the NZB adding type to \"Upload NZB\".  I only get the error when I have the \"Send link\" option enabled."},"comment":{"url":"https://api.github.com/repos/theotherp/nzbhydra/issues/comments/165169487","html_url":"https://github.com/theotherp/nzbhydra/issues/55#issuecomment-165169487","issue_url":"https://api.github.com/repos/theotherp/nzbhydra/issues/55","id":165169487,"user":{"login":"theotherp","id":14368889,"avatar_url":"https://avatars.githubusercontent.com/u/14368889?v=3","gravatar_id":"","url":"https://api.github.com/users/theotherp","html_url":"https://github.com/theotherp","followers_url":"https://api.github.com/users/theotherp/followers","following_url":"https://api.github.com/users/theotherp/following{/other_user}","gists_url":"https://api.github.com/users/theotherp/gists{/gist_id}","starred_url":"https://api.github.com/users/theotherp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theotherp/subscriptions","organizations_url":"https://api.github.com/users/theotherp/orgs","repos_url":"https://api.github.com/users/theotherp/repos","events_url":"https://api.github.com/users/theotherp/events{/privacy}","received_events_url":"https://api.github.com/users/theotherp/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T16:39:40Z","updated_at":"2015-12-16T16:39:40Z","body":"Which version of nzbget do you use?"}}