Skip to main content
Inspiring
August 24, 2018

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

  • August 24, 2018
  • 22 replies
  • 725 views

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.

This topic has been closed for replies.

22 replies

JK10003Author
Inspiring
August 27, 2018
Thank you very much!  Somehow, my syncing has resolved itself, but I will keep this for the future.
AviMathur
Adobe Employee
Adobe Employee
August 27, 2018
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.