thesamim / TickTickSync

GNU General Public License v3.0
143 stars 8 forks source link

Login Failed (error 500) #184

Open gyuraam opened 20 hours ago

gyuraam commented 20 hours ago

PS. I'm using a translator. The choice of words can be unnatural.

Describe the bug A clear and concise description of what the bug is. I can't login. An error message appears. Have tried changing my password twice and I still get a message.

To Reproduce Steps to reproduce the behavior:

  1. Go to TickTickSync settings & entered username and password.
  2. Click on login
  3. See error

Expected behavior A clear and concise description of what you expected to happen. I want to login.

Screenshots If applicable, add screenshots to help explain your problem. image

console image image

**Set up questions:

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here. I am using version TickTickSync 1.037.

thesamim commented 8 hours ago

@gyuraam It appears that the previous version of TickTickSync has left a bad ID behind: image

Let's Please try this: Disable TickTickSync from community plugin settings.

In the console, please paste this code and run it.

Object.keys(localStorage)
      .forEach(function(key){
           if (/TTS_.*/.test(key)) {
               localStorage.removeItem(key);
           }
       });

(NOTE: It is never a good idea to run code that someone tells you to run in your console if you don't know what the code is doing. This code is removing the old saved data that TickTickSync left behind. The intent is to start with clean IDs.)

Enable TickTickSync from community plugin settings.

Try logging in again.

Let me know what happens.

gyuraam commented 3 hours ago

I successfully logged in!

I successfully synchronized the schedule created by Obsidian with TikTik. However, the schedule created by TikTik is not synchronized to Obsidian.