Improve error message for missing sync id (#14065)

Change-Id: Iab2ddc31261f198c486b9028249fab9cc2cc06a1