{"action":"created","issue":{"url":"https://api.github.com/repos/wakatime/vscode-wakatime/issues/31","repository_url":"https://api.github.com/repos/wakatime/vscode-wakatime","labels_url":"https://api.github.com/repos/wakatime/vscode-wakatime/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/wakatime/vscode-wakatime/issues/31/comments","events_url":"https://api.github.com/repos/wakatime/vscode-wakatime/issues/31/events","html_url":"https://github.com/wakatime/vscode-wakatime/issues/31","id":271669390,"number":31,"title":"WakaTime Error - 401 Unauthorized","user":{"login":"hmobrienv","id":11792047,"avatar_url":"https://avatars2.githubusercontent.com/u/11792047?v=4","gravatar_id":"","url":"https://api.github.com/users/hmobrienv","html_url":"https://github.com/hmobrienv","followers_url":"https://api.github.com/users/hmobrienv/followers","following_url":"https://api.github.com/users/hmobrienv/following{/other_user}","gists_url":"https://api.github.com/users/hmobrienv/gists{/gist_id}","starred_url":"https://api.github.com/users/hmobrienv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmobrienv/subscriptions","organizations_url":"https://api.github.com/users/hmobrienv/orgs","repos_url":"https://api.github.com/users/hmobrienv/repos","events_url":"https://api.github.com/users/hmobrienv/events{/privacy}","received_events_url":"https://api.github.com/users/hmobrienv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-07T00:30:26Z","updated_at":"2017-11-07T22:25:24Z","closed_at":"2017-11-07T22:25:24Z","author_association":"NONE","body":"Receiving 401 unauthorized response codes although api_keys match.\r\nI have reset my api key and reinstalled the plugin without success. \r\n\r\nErrors from console with wakatime debugging on:\r\n\r\n```\r\n[WakaTime] [ERROR] Error: Command failed: \\python27\\pythonw C:\\Users\\mobrien\\.vscode\\extensions\\WakaTime.vscode-wakatime-1.1.21\\out\\wakatime-master\\wakatime\\cli.py --file c:\\Users\\mobrien\\.wakatime.cfg --plugin vscode/1.17.2 vscode-wakatime/1.1.21 --alternate-project test --config \r\n[WakaTime] [ERROR] Invalid API Key (104); Make sure your API Key is correct!\r\n```"},"comment":{"url":"https://api.github.com/repos/wakatime/vscode-wakatime/issues/comments/342644228","html_url":"https://github.com/wakatime/vscode-wakatime/issues/31#issuecomment-342644228","issue_url":"https://api.github.com/repos/wakatime/vscode-wakatime/issues/31","id":342644228,"user":{"login":"hmobrienv","id":11792047,"avatar_url":"https://avatars2.githubusercontent.com/u/11792047?v=4","gravatar_id":"","url":"https://api.github.com/users/hmobrienv","html_url":"https://github.com/hmobrienv","followers_url":"https://api.github.com/users/hmobrienv/followers","following_url":"https://api.github.com/users/hmobrienv/following{/other_user}","gists_url":"https://api.github.com/users/hmobrienv/gists{/gist_id}","starred_url":"https://api.github.com/users/hmobrienv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmobrienv/subscriptions","organizations_url":"https://api.github.com/users/hmobrienv/orgs","repos_url":"https://api.github.com/users/hmobrienv/repos","events_url":"https://api.github.com/users/hmobrienv/events{/privacy}","received_events_url":"https://api.github.com/users/hmobrienv/received_events","type":"User","site_admin":false},"created_at":"2017-11-07T22:25:24Z","updated_at":"2017-11-07T22:25:24Z","author_association":"NONE","body":"Resolved. Was unable to find out why it wasn't working earlier. I suspect there was error with the .cfg file format.\r\n\r\nTo fix the issue I deleted the ~/.wakatime.cfg file. Hit CTRL + SHIFT + P and ran WakaTime API Key. I re-entered the api key and all seems to be function correctly again. \r\n\r\n"}}
{"actor":{"display_login":"hmobrienv"}}