Invalid date value for item
Hi, I've been having trouble syncing my documents because of an invalid date value which shows up as "Invalid date value '2079-12-15 18:10:50' for item 7GIXK4LR"". For some context on the date, my PC is pretty old and sometimes starts up with the wrong date and time so I probably added a file without changing the date on my system first and that's why it's 2079. I can't find the file based on the item number and I don't want to mass delete my old references because I might need to use them in the near future , although I will if it's necessary. Any help on this would be great :) Report ID:2106692099
If it's not there, it's in the trash.
"
[JavaScript Error: "Error 400 for item 7GIXK4LR in My Library:
ZoteroObjectUploadError: Invalid date value '2079-12-15 18:10:50' for item 7GIXK4LR"]
[JavaScript Error: "Invalid date value '2079-12-15 18:10:50' for item 7GIXK4LR" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1357}]
[JavaScript Error: "Error 400 for item EREH78ZP in My Library:
ZoteroObjectUploadError: Invalid date value '2079-12-15 18:10:59' for item EREH78ZP"]
[JavaScript Error: "Invalid date value '2079-12-15 18:10:59' for item EREH78ZP" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1357}]
[JavaScript Error: "Error 400 for item JYI75V3M in My Library:
ZoteroObjectUploadError: Invalid date value '2079-12-15 18:11:03' for item JYI75V3M"]
[JavaScript Error: "Invalid date value '2079-12-15 18:11:03' for item JYI75V3M" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1357}]
[JavaScript Error: "Error 400 for item NB96D59Z in My Library:
ZoteroObjectUploadError: Invalid date value '2079-12-15 18:11:15' for item NB96D59Z"]
[JavaScript Error: "Invalid date value '2079-12-15 18:11:15' for item NB96D59Z" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1357}]
[JavaScript Error: "Error 400 for item IQ23CCKF in My Library:
ZoteroObjectUploadError: Invalid date value '2079-12-15 18:11:35' for item IQ23CCKF"]
[JavaScript Error: "Invalid date value '2079-12-15 18:11:35' for item IQ23CCKF" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1357}]
[JavaScript Error: "Made no progress during upload -- stopping" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1416}]
[JavaScript Error: "Made no progress during upload -- stopping" {file: "chrome://zotero/content/xpcom/sync/syncEngine.js" line: 1416}]
version => 6.0.26, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => en-GB, appName => Zotero, appVersion => 6.0.26, extensions => Zotero LibreOffice Integration (6.0.4.SA.6.0.26, extension), Zotero Word for Windows Integration (6.0.3.SA.6.0.26, extension)
"
I've tried to find the directory "chrome://zotero/content/xpcom/sync/syncEngine.js" because it seems to be an issue with the chrome extension but I haven't been able to find it.
That’s not a directory and not related to the Chrome extension. Don’t worry about messages in error reports — those are for us.
To fix this, first close Zotero and make a backup of the zotero.sqlite file in your Zotero data directory. Then restart Zotero, go to Tools → Developer → Run JavaScript, and run this code:
await Zotero.DB.queryAsync("UPDATE items SET dateAdded=CURRENT_TIMESTAMP, dateModified=CURRENT_TIMESTAMP WHERE dateAdded LIKE ?", '2079%')
It will say "undefined".
Then restart Zotero and try to sync.