Respond with error message on Connect problems
Change variable name to invalid_to