-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid token #16
Comments
Hi, thanks for using Code Time. I noticed you downloaded an older version of the plugin that has been deprecated. You can find the new version of the plugin here: https://plugins.jetbrains.com/plugin/25617-codetime |
Strange. May I ask if you are using https://codetime.dev? Because there might be other services with the same name… |
I apologize for any inconvenience caused. However, I haven’t been able to pinpoint where the issue might be... I may need you to provide more information. Could you please try using the command below to check the output? If everything is working correctly, you should receive a JSON response.
|
and next request with new updated token response with user not found. I solved the problem after I went to https://api.codetime.dev/user in the browser and copied the token from the object by the key "upload_token" then threw it into the IDE and it worked for me. But when I copy from the form in the account, it causes an error invalid token |
I see. This might be a frontend issue, possibly related to the browser or operating system. I noticed that you seem to be using Linux, though I’m not sure which distribution it is. I’ll try to fix this issue. |
Yes I use ubuntu 24.04 but I had the same problem when I tried to do it on windows from my laptop |
May I ask what the difference is between the token content copied to the clipboard from the webpage and the response payload? |
@Jannchie Hi 我注意到webstorm插件市场里有两个名为 codetime 的插件,https://plugins.jetbrains.com/plugin/15507-codetime 和 https://plugins.jetbrains.com/plugin/25617-codetime。在此之前我一直使用前者,直到我遇见 “Invalid token”。 如果前者已弃用,请在网站中提示。 |
When I try to insert code from the site into the plugin, phpstorm gives an error
The text was updated successfully, but these errors were encountered: