Fixed a bug where connection errors would throw a validation error with a weird error message.