using the id of the message instead of the message at several places to be able to add it to the final error