sending error message when computation of the mapping failed.