question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I am having no luck getting up and running with the extension on VSCodium Version: 1.73.1 Contents of ~/.wakatime.cfg are…

[settings]
debug = true
api_key = waka_key

I’ve tried reinstalling the extension and even nuked my account and created a new one but I only see a message saying Invalid API key…check wakatime.com/settings

Console returns

workbench.desktop.main.js:87 [Extension Host] [WakaTime][WARN] Unable to get api key: Error: could not read ~/.wakatime.cfg

Is this file supposed to be written at install? In my case I have to create it and still the same issue. I know this issue is duplicated and closed, but no solutions are available in older issues.

~/.wakatime.log file contents…

{“caller”:“cmd/run.go:81”,“func”:“cmd.Run”,“level”:“debug”,“message”:“command: config-read”,“now”:“2022-12-07T23:17:27-08:00”,“os/arch”:“darwin/arm64”,“version”:“v1.60.1”} {“caller”:“cmd/run.go:128”,“func”:“cmd.Run”,“level”:“warning”,“message”:“one of the following parameters has to be provided: --config-read, --config-write, --entity, --offline-count, --print-offline-heartbeats, --sync-offline-activity, --today, --today-goal, --useragent, --version”,“now”:“2022-12-07T23:17:59-08:00”,“os/arch”:“darwin/arm64”,“version”:“v1.60.1”} {“caller”:“cmd/run.go:128”,“func”:“cmd.Run”,“level”:“warning”,“message”:“one of the following parameters has to be provided: --config-read, --config-write, --entity, --offline-count, --print-offline-heartbeats, --sync-offline-activity, --today, --today-goal, --useragent, --version”,“now”:“2022-12-07T23:18:25-08:00”,“os/arch”:“darwin/arm64”,“version”:“v1.60.1”}

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
alanhamlettcommented, Dec 21, 2022

It should work with the prefix too now.

1reaction
ktavabicommented, Dec 21, 2022

Thanks for the FB, Alan. I got the thing to work finally after a clean environment rebuild, and minimal configuration with an API key without the waka_ prefix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why am I getting The API key is invalid error? - Zoho Cares
If you have closed your Zoho Account, the API key associated with it automatically becomes inactive and you will get invalid API key...
Read more >
Invalid API key provided: stripe - WordPress.org
@addel101 The error you are receiving is pretty straightforward, and it is usually indicative of one of two issues: 1. The keys you...
Read more >
Why am I getting an invalid API key error in my shopping cart?
Go to Wordpress > Printful > Settings; Delete the Printful Store API Key and click Save changes; Go to your Dashboard and click...
Read more >
Why do I have an error: "Invalid API key: You must be granted ...
According to the API documentation. The URL should look something like this: https://api.themoviedb.org/3/movie/76341?api_key=<<api_key>>.
Read more >
Error: Invalid API Key when trying to add a Google Drive File
Answer: · Google as the Admin Account · Select API Manager > Credentials using the menu on the left · Choose the Credentials...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found