This error is happening because ContractorTools is trying to sync a transaction (invoice or payment) for a job that had an sync error (you should be able to see the sync error higher in the list of errors).
This error will be fixed once you fix the error that prevented the job from being able to sync.