Lightroom Classic 7.5: Sync Yields "bad argument #1 to '?' (number expected, got nil)" Error Messages

  • 11
  • Problem
  • Updated 2 years ago
  • Solved
  • (Edited)
Within the last several weeks, I have started to get errors when trying to sync from LR Classic.  Some problem images have been successfully synced for months, and others are new.  The problems seemed to begin when I removed some photos from All Photos in LR CC.  In the upper left corner, I see "Syncing 3 photos", though the number changes.  In Preferences, Sync Activity, the images have had the message "bad argument #1 to '?' (number expected, got nil)", and the Remove from All Synced Photos option doesn't seem to do anything.
Is there some way I can reset the sync environment?  Would that be a solution? Thanks.
Photo of Jk10003


  • 15 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 11
Photo of Akshay Mathur

Akshay Mathur, Employee

  • 33 Posts
  • 12 Reply Likes
Official Response
Classic -> Preferences -> Lightroom Sync -> Press alt/option -> Rebuild Sync data . Lightroom will restart and syncing will reset and there will be no impact on your images.