wakatime / jetbrains-wakatime

IntelliJ IDEA, PyCharm, RubyMine, PhpStorm, AppCode, AndroidStudio, Goland, Rider, & WebStorm plugin for quantifying your coding.
https://wakatime.com/intellij-idea
BSD 3-Clause "New" or "Revised" License
1.13k stars 167 forks source link

wakaTime Not Working !!! but my api key is true !!! #146

Closed nerdy-panda closed 4 years ago

nerdy-panda commented 4 years ago

hi i have problem in wakatime !!!! WakaTime][ERROR] Invalid Api Key (104); Make sure your Api Key is correct!

wakaTime.log vsCode {"now": "2020/07/27 13:52:11 +0430", "version": "13.0.7", "plugin": "vscode/1.47.2 vscode-wakatime/4.0.0", "time": 1595841729.9006224, "caller": "wakatime/api.py", "lineno": 339, "is_write": true, "file": "/home/nerdpanda/web/php/mvc/index.php", "level": "WARNING", "message": "{'response_code': 401, 'response_content': '{\"error\":\"Unauthorized\"}\\n'}"}

WakaTime.log PhpStorm

{"now": "2020/07/27 13:06:42 +0430", "version": "13.0.7", "plugin": "PhpStorm/2020.1.4 PhpStorm-wakatime/11.0.1", "time": 1595838975.027, "caller": "wakatime/api.py", "lineno": 339, "is_write": true, "file": "/home/nerdpanda/web/php/mvc/index.php ![Screenshot_2020-07-27_13-58-41](https://user-images.githubusercontent.com/39291525/88527065-029c2e00-d012-11ea-8b0d-0f1ac8ed4286.png) ", "level": "WARNING", "message": "{'response_code': 401, 'response_content': '{\"error\":\"Unauthorized\"}\\n'}"}

Screenshot_2020-07-27_13-58-41

egordorichev commented 4 years ago

Looks like a global outage, have a look:

igorskyflyer commented 4 years ago

I can confirm having the same issue in (regular) VS Code since today, checked everything, my API key is correct.

alanhamlett commented 4 years ago

Sorry, this was me. 😭 I broke the api key parsing, but it's fixed now. The plugin saves your stats and syncs them up the next time the plugin runs (the next time you're typing) so nothing is lost, but still sorry about the frustration it may have caused.