{"action":"created","issue":{"url":"https://api.github.com/repos/Mendeley/mendeley-api-python-example/issues/4","repository_url":"https://api.github.com/repos/Mendeley/mendeley-api-python-example","labels_url":"https://api.github.com/repos/Mendeley/mendeley-api-python-example/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Mendeley/mendeley-api-python-example/issues/4/comments","events_url":"https://api.github.com/repos/Mendeley/mendeley-api-python-example/issues/4/events","html_url":"https://github.com/Mendeley/mendeley-api-python-example/issues/4","id":91903319,"number":4,"title":"Error: oauthlib.oauth2.rfc6749.errors.MissingTokenError","user":{"login":"aliceriot","id":6207644,"avatar_url":"https://avatars.githubusercontent.com/u/6207644?v=3","gravatar_id":"","url":"https://api.github.com/users/aliceriot","html_url":"https://github.com/aliceriot","followers_url":"https://api.github.com/users/aliceriot/followers","following_url":"https://api.github.com/users/aliceriot/following{/other_user}","gists_url":"https://api.github.com/users/aliceriot/gists{/gist_id}","starred_url":"https://api.github.com/users/aliceriot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliceriot/subscriptions","organizations_url":"https://api.github.com/users/aliceriot/orgs","repos_url":"https://api.github.com/users/aliceriot/repos","events_url":"https://api.github.com/users/aliceriot/events{/privacy}","received_events_url":"https://api.github.com/users/aliceriot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-06-29T20:34:23Z","updated_at":"2016-04-15T14:17:36Z","closed_at":null,"body":"\r\nHey folks,\r\n\r\nI'm trying to get this example code working, as it is pretty close to something I want to build. I keep getting this error in the oauth package. I installed the packages in `requirements.txt` and am running python within a fresh virtualenv. Anyone have any ideas? Here is the stack trace:\r\n\r\n    Traceback (most recent call last): File\r\n    \"/home/alice/Code/projects/bibliography_manager/mendeley_python_example/mendeley-api-python-example/test/lib/python2.7/site-packages/flask/app.py\",\r\n    line 1836, in __call__ return self.wsgi_app(environ, start_response) File\r\n    \"/home/alice/Code/projects/bibliography_manager/mendeley_python_example/mendeley-api-python-example/test/lib/python2.7/site-packages/flask/app.py\",\r\n    line 1820, in wsgi_app response = self.make_response(self.handle_exception(e))\r\n    File\r\n    \"/home/alice/Code/projects/bibliography_manager/mendeley_python_example/mendeley-api-python-example/test/lib/python2.7/site-packages/flask/app.py\",\r\n    line 1403, in handle_exception reraise(exc_type, exc_value, tb) File\r\n    \"/home/alice/Code/projects/bibliography_manager/mendeley_python_example/mendeley-api-python-example/test/lib/python2.7/site-packages/flask/app.py\",\r\n    line 1817, in wsgi_app response = self.full_dispatch_request() File\r\n    \"/home/alice/Code/projects/bibliography_manager/mendeley_python_example/mendeley-api-python-example/test/lib/python2.7/site-packages/flask/app.py\",\r\n    line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File\r\n    \"/home/alice/Code/projects/bibliography_manager/mendeley_python_example/mendeley-api-python-example/test/lib/python2.7/site-packages/flask/app.py\",\r\n    line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File\r\n    \"/home/alice/Code/projects/bibliography_manager/mendeley_python_example/mendeley-api-python-example/test/lib/python2.7/site-packages/flask/app.py\",\r\n    line 1475, in full_dispatch_request rv = self.dispatch_request() File\r\n    \"/home/alice/Code/projects/bibliography_manager/mendeley_python_example/mendeley-api-python-example/test/lib/python2.7/site-packages/flask/app.py\",\r\n    line 1461, in dispatch_request return\r\n    self.view_functions[rule.endpoint](**req.view_args) File\r\n    \"/home/alice/Code/projects/bibliography_manager/mendeley_python_example/mendeley-api-python-example/mendeley-example.py\",\r\n    line 35, in auth_return mendeley_session = auth.authenticate(request.url) File\r\n    \"/home/alice/Code/projects/bibliography_manager/mendeley_python_example/mendeley-api-python-example/test/lib/python2.7/site-packages/mendeley/auth.py\",\r\n    line 68, in authenticate scope=['all']) File\r\n    \"/home/alice/Code/projects/bibliography_manager/mendeley_python_example/mendeley-api-python-example/test/lib/python2.7/site-packages/requests_oauthlib/oauth2_session.py\",\r\n    line 199, in fetch_token self._client.parse_request_body_response(r.text,\r\n    scope=self.scope) File\r\n    \"/home/alice/Code/projects/bibliography_manager/mendeley_python_example/mendeley-api-python-example/test/lib/python2.7/site-packages/oauthlib/oauth2/rfc6749/clients/base.py\",\r\n    line 409, in parse_request_body_response self.token =\r\n    parse_token_response(body, scope=scope) File\r\n    \"/home/alice/Code/projects/bibliography_manager/mendeley_python_example/mendeley-api-python-example/test/lib/python2.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py\",\r\n    line 376, in parse_token_response validate_token_parameters(params) File\r\n    \"/home/alice/Code/projects/bibliography_manager/mendeley_python_example/mendeley-api-python-example/test/lib/python2.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py\",\r\n    line 386, in validate_token_parameters raise\r\n    MissingTokenError(description=\"Missing access token parameter.\")\r\n    MissingTokenError: (missing_token) Missing access token parameter.\r\n\r\nOther info: system is an up to date Arch linux install. I got the same error using 2.7 and 3.4."},"comment":{"url":"https://api.github.com/repos/Mendeley/mendeley-api-python-example/issues/comments/210479504","html_url":"https://github.com/Mendeley/mendeley-api-python-example/issues/4#issuecomment-210479504","issue_url":"https://api.github.com/repos/Mendeley/mendeley-api-python-example/issues/4","id":210479504,"user":{"login":"rg2410","id":18484471,"avatar_url":"https://avatars.githubusercontent.com/u/18484471?v=3","gravatar_id":"","url":"https://api.github.com/users/rg2410","html_url":"https://github.com/rg2410","followers_url":"https://api.github.com/users/rg2410/followers","following_url":"https://api.github.com/users/rg2410/following{/other_user}","gists_url":"https://api.github.com/users/rg2410/gists{/gist_id}","starred_url":"https://api.github.com/users/rg2410/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rg2410/subscriptions","organizations_url":"https://api.github.com/users/rg2410/orgs","repos_url":"https://api.github.com/users/rg2410/repos","events_url":"https://api.github.com/users/rg2410/events{/privacy}","received_events_url":"https://api.github.com/users/rg2410/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T14:17:36Z","updated_at":"2016-04-15T14:17:36Z","body":"No environments, like the instructions."}}