It was synchronizing fine until last night now I get this error every time I sync. I just tried a new token an the same error happens. I'm going to try uninstalling and reinstalling. Uninstalling and reinstalling didn't help nor has a fresh sync from Toodledo. The one new thing that I've observed the sync doing is syncing all tasks vs the one or two that I change. Not sure if that might help find the bug or not.
I really appreciate all your hard work on this program!
Sue Darby
======================================================
Error
Message:
com.leclercb.taskunifier.api.synchronizer.exc.SynchronizerHttpException: Too Many
Requests: <error id="user-content-3">Too many requests per token. Please get a new token.</error>
Level:
WARNING
Stack Trace:
Too Many Requests: Too many requests per token. Please get a new token.
com.leclercb.taskunifier.plugin.toodledo.calls.ToodledoErrors.throwError(ToodledoErrors.java:174)
com.leclercb.taskunifier.plugin.toodledo.calls.AbstractCall.throwResponseError(AbstractCall.java:186)
com.leclercb.taskunifier.plugin.toodledo.calls.AbstractCall.callGet(AbstractCall.java:90)
com.leclercb.taskunifier.plugin.toodledo.calls.CallGetDeletedTasks.getDeletedTasks(CallGetDeletedTasks.java:50)
com.leclercb.taskunifier.plugin.toodledo.calls.ToodledoStatement.getDeletedTasks(ToodledoStatement.java:252)
com.leclercb.taskunifier.plugin.toodledo.ToodledoSynchronizer.getDeletedModels(ToodledoSynchronizer.java:727)
com.leclercb.taskunifier.gui.plugins.AbstractSynchronizer.synchronizeModels(AbstractSynchronizer.java:164)
com.leclercb.taskunifier.gui.plugins.AbstractSynchronizer.synchronizeModels(AbstractSynchronizer.java:126)
com.leclercb.taskunifier.plugin.toodledo.ToodledoSynchronizer.synchronize(ToodledoSynchronizer.java:156)
com.leclercb.taskunifier.gui.processes.synchronization.ProcessSynchronize.execute(ProcessSynchronize.java:252)
com.leclercb.taskunifier.gui.processes.synchronization.ProcessSynchronize.execute(ProcessSynchronize.java:71)
com.leclercb.taskunifier.gui.processes.Worker.doInBackground(Worker.java:176)
javax.swing.SwingWorker$1.call(Unknown Source)
java.util.concurrent.FutureTask.run(Unknown Source)
javax.swing.SwingWorker.run(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Anonymous
I get this too. I had just finished doing some changes to some Tags (which affected 264 tasks). I then tried to sync and got the error. Interestingly I had previously done a similar chnage to Tags (affecting 500+ tasks) and it appeared to work ok. I'm on version 4.3.3 and Windows 7. My stack trace is somewhat different...
Message:
com.leclercb.taskunifier.api.synchronizer.exc.SynchronizerHttpException: Too Many Requests: <error id="user-content-3">Too many requests per token. Please get a new token.</error>
Level:
WARNING
Stack Trace:
Too Many Requests: Too many requests per token. Please get a new token.
com.leclercb.taskunifier.plugin.toodledo.calls.ToodledoErrors.throwError(ToodledoErrors.java:174)
com.leclercb.taskunifier.plugin.toodledo.calls.AbstractCall.throwResponseError(AbstractCall.java:186)
com.leclercb.taskunifier.plugin.toodledo.calls.AbstractCall.callPost(AbstractCall.java:162)
com.leclercb.taskunifier.plugin.toodledo.calls.AbstractCall.callPost(AbstractCall.java:117)
com.leclercb.taskunifier.plugin.toodledo.calls.CallEditTask.editTasksMax(CallEditTask.java:257)
com.leclercb.taskunifier.plugin.toodledo.calls.CallEditTask.editTasks(CallEditTask.java:55)
com.leclercb.taskunifier.plugin.toodledo.calls.ToodledoStatement.editTasks(ToodledoStatement.java:530)
com.leclercb.taskunifier.plugin.toodledo.ToodledoSynchronizer.updateModels(ToodledoSynchronizer.java:508)
com.leclercb.taskunifier.gui.plugins.AbstractSynchronizer.synchronizeModels(AbstractSynchronizer.java:441)
com.leclercb.taskunifier.gui.plugins.AbstractSynchronizer.synchronizeModels(AbstractSynchronizer.java:126)
com.leclercb.taskunifier.plugin.toodledo.ToodledoSynchronizer.synchronize(ToodledoSynchronizer.java:156)
com.leclercb.taskunifier.gui.processes.synchronization.ProcessSynchronize.execute(ProcessSynchronize.java:252)
com.leclercb.taskunifier.gui.processes.synchronization.ProcessSynchronize.execute(ProcessSynchronize.java:71)
com.leclercb.taskunifier.gui.processes.Worker.doInBackground(Worker.java:176)
javax.swing.SwingWorker$1.call(Unknown Source)
java.util.concurrent.FutureTask.run(Unknown Source)
javax.swing.SwingWorker.run(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
After a bit of investigation I read that Toodledo restrict the amount of traffic using it's API (see https://api.toodledo.com/2/account/doc_sync.php). The limit is 250 requests in a 60 minute period. So my Tag change which affected 500+ tasks would have exceeded that, assuming TaskUnifier wasn't doing much caching. I just waited an hour and the problem went away.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I have the same problem, for some reason every time I sync it wants to synchronize all tasks (about 1300), instead of just the few that have changed. Then I get the too many requests message.