Add validation to the configuration to detect obvious misconfigurations. i.e. negative values, misformed url etc.