Fix typo:  error_message did not have access to variables request or e