Fixed the error message to list available message types