add error messages to error message table when sync fails
documentation