taskwarrior icon indicating copy to clipboard operation
taskwarrior copied to clipboard

[TW-1384] "Client Sync Key not Found" if sync credentials are changed without running `task sync init`

Open taskwarrior opened this issue 7 years ago • 3 comments

Jack on 2014-07-27T04:11:26Z says:

To recreate:

  • Set up to sync with your Taskserver and sync successfully
  • Create new credentials with your Taskserver, and configure TaskWarrior to sync with them. Except call task sync instead of task sync init the first time you use the new credentials.

This is the error: {code} Sync failed. The Taskserver returned error: 500 Client sync key not found. {code}

taskwarrior avatar Feb 14 '18 07:02 taskwarrior

Migrated metadata:

Created: 2014-07-27T04:11:26Z
Modified: 2017-03-01T18:48:50Z

taskwarrior avatar Feb 14 '18 07:02 taskwarrior

Paul Beckingham on 2017-01-16T18:56:03Z says:

Looks like we just need a better interpretation of the error code.

taskwarrior avatar Feb 14 '18 07:02 taskwarrior

Antonio Huete Jimenez on 2017-03-01T18:48:50Z says:

Hi,

In my case I was trying to solve another issue and whilst implementing a solution proposed by Paul, at some point, I had to resync my TW clients and I got that message.

Deleting ~/.task/backlog.data and running 'task sync' again solved the issue for me.

PS: Backup your ~/.task before doing any change!

Cheers, Antonio Huete

taskwarrior avatar Feb 14 '18 07:02 taskwarrior

This is regarding the old sync.

djmitche avatar Jun 05 '24 01:06 djmitche