UPDATE public.client_invoices SET zoho_sync_status = 'pending', zoho_sync_error = NULL WHERE zoho_sync_status = 'error';