Insert data into error message