Added an error message if an error was retrieved.
Removed invalid messages.